Basically, what I'm looking for, is some sort of script that I can drop into
a folder on my server, and when someone visits that specific folder (I'm
going to remove all file's from the folder as I've moved the site), the
script detects the file is not there, and auto-redirects them to the new
location (kind of like a "clever" 404 page).
As I do not have direct access to my server's settings (such as editing 404
pages etc), I cannot do it the "normal" way.
Anyone have any ideas, suggestions, scripts, reference links?
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o) 16 1763
have an asp page called default.asp.
In that page put <%response.redirect http://www.mysite%>
Who cares whether script detects that the folder is empty. The folder is
empty anyway..??..??..!!?>??
wtf
You just said you will empty the folder
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:Ob**************@TK2MSFTNGP10.phx.gbl... Basically, what I'm looking for, is some sort of script that I can drop
into a folder on my server, and when someone visits that specific folder (I'm going to remove all file's from the folder as I've moved the site), the script detects the file is not there, and auto-redirects them to the new location (kind of like a "clever" 404 page).
As I do not have direct access to my server's settings (such as editing
404 pages etc), I cannot do it the "normal" way.
Anyone have any ideas, suggestions, scripts, reference links?
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Yes but, people and search engines are still trying to access the old pages
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o)
Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
news:uN*************@TK2MSFTNGP10.phx.gbl... have an asp page called default.asp.
In that page put <%response.redirect http://www.mysite%>
Who cares whether script detects that the folder is empty. The folder is empty anyway..??..??..!!?>??
wtf You just said you will empty the folder
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Ob**************@TK2MSFTNGP10.phx.gbl... Basically, what I'm looking for, is some sort of script that I can drop into a folder on my server, and when someone visits that specific folder (I'm going to remove all file's from the folder as I've moved the site), the script detects the file is not there, and auto-redirects them to the new location (kind of like a "clever" 404 page).
As I do not have direct access to my server's settings (such as editing 404 pages etc), I cannot do it the "normal" way.
Anyone have any ideas, suggestions, scripts, reference links?
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
If its an ASP site and the pages are .asp then use the Global.asa and
redirect in the Session_OnStart sub. That will kick off every time an ASP
page is requested with no session active.
You can also use a custom 404 error page to redirect (that's the way MS do
it I believe).
See: http://www.plinko.net/404/howto.asp?article=5 http://hotwired.lycos.com/webmonkey/...tml?tw=backend http://www.highcontext.com/Articles/howto/404.php
Hope this helps,
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Yes but, people and search engines are still trying to access the old pages
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o)
Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
news:uN*************@TK2MSFTNGP10.phx.gbl... have an asp page called default.asp.
In that page put <%response.redirect http://www.mysite%>
Who cares whether script detects that the folder is empty. The folder is empty anyway..??..??..!!?>??
wtf You just said you will empty the folder
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Ob**************@TK2MSFTNGP10.phx.gbl... Basically, what I'm looking for, is some sort of script that I can drop into a folder on my server, and when someone visits that specific folder (I'm going to remove all file's from the folder as I've moved the site), the script detects the file is not there, and auto-redirects them to the new location (kind of like a "clever" 404 page).
As I do not have direct access to my server's settings (such as editing 404 pages etc), I cannot do it the "normal" way.
Anyone have any ideas, suggestions, scripts, reference links?
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
I've read about the custom 404 pages, but from what I can gather, they need
to be set at server level, and can't be simply "dropped" into a folder.
Unfortunately I don't have access to my site's actual server settings.
Basically what I need is a re-direct script that will re-direct regardless
of whether file's are in the folder or not. using a default.asp or
index.html etc page is fine, however, that won't trap any of the other pages
accessed.....(hope I am making sense?)
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:#I**************@tk2msftngp13.phx.gbl... If its an ASP site and the pages are .asp then use the Global.asa and redirect in the Session_OnStart sub. That will kick off every time an ASP page is requested with no session active. You can also use a custom 404 error page to redirect (that's the way MS do it I believe).
See: http://www.plinko.net/404/howto.asp?article=5 http://hotwired.lycos.com/webmonkey/...tml?tw=backend http://www.highcontext.com/Articles/howto/404.php
Hope this helps,
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Yes but, people and search engines are still trying to access the old
pages -- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message news:uN*************@TK2MSFTNGP10.phx.gbl... have an asp page called default.asp.
In that page put <%response.redirect http://www.mysite%>
Who cares whether script detects that the folder is empty. The folder
is empty anyway..??..??..!!?>??
wtf You just said you will empty the folder
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Ob**************@TK2MSFTNGP10.phx.gbl... Basically, what I'm looking for, is some sort of script that I can
drop into a folder on my server, and when someone visits that specific folder
(I'm going to remove all file's from the folder as I've moved the site),
the script detects the file is not there, and auto-redirects them to the
new location (kind of like a "clever" 404 page).
As I do not have direct access to my server's settings (such as
editing 404 pages etc), I cannot do it the "normal" way.
Anyone have any ideas, suggestions, scripts, reference links?
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
I believe that the custom 404 and Global.asa methods are the only methods
available in IIS for non .asp (and .asp of course) pages and .asp pages
respectively.
If it's apache then you may be able to do it with the .htaccess file?
You may be able to ask your host to set it up for you - might charge you
though?
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:eA****************@TK2MSFTNGP11.phx.gbl...
Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
I've read about the custom 404 pages, but from what I can gather, they need
to be set at server level, and can't be simply "dropped" into a folder.
Unfortunately I don't have access to my site's actual server settings.
Basically what I need is a re-direct script that will re-direct regardless
of whether file's are in the folder or not. using a default.asp or
index.html etc page is fine, however, that won't trap any of the other pages
accessed.....(hope I am making sense?)
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:#I**************@tk2msftngp13.phx.gbl... If its an ASP site and the pages are .asp then use the Global.asa and redirect in the Session_OnStart sub. That will kick off every time an ASP page is requested with no session active. You can also use a custom 404 error page to redirect (that's the way MS do it I believe).
See: http://www.plinko.net/404/howto.asp?article=5 http://hotwired.lycos.com/webmonkey/...tml?tw=backend http://www.highcontext.com/Articles/howto/404.php
Hope this helps,
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Yes but, people and search engines are still trying to access the old
pages -- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message news:uN*************@TK2MSFTNGP10.phx.gbl... have an asp page called default.asp.
In that page put <%response.redirect http://www.mysite%>
Who cares whether script detects that the folder is empty. The folder
is empty anyway..??..??..!!?>??
wtf You just said you will empty the folder
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Ob**************@TK2MSFTNGP10.phx.gbl... Basically, what I'm looking for, is some sort of script that I can
drop into a folder on my server, and when someone visits that specific folder
(I'm going to remove all file's from the folder as I've moved the site),
the script detects the file is not there, and auto-redirects them to the
new location (kind of like a "clever" 404 page).
As I do not have direct access to my server's settings (such as
editing 404 pages etc), I cannot do it the "normal" way.
Anyone have any ideas, suggestions, scripts, reference links?
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
It's an IIS server.
I've spoken with my host about it but, unfortunately, they aren't able to
provide that service for me.
Thanks anyway.
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:#C**************@TK2MSFTNGP11.phx.gbl... I believe that the custom 404 and Global.asa methods are the only methods available in IIS for non .asp (and .asp of course) pages and .asp pages respectively.
If it's apache then you may be able to do it with the .htaccess file?
You may be able to ask your host to set it up for you - might charge you though?
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:eA****************@TK2MSFTNGP11.phx.gbl... Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
I've read about the custom 404 pages, but from what I can gather, they
need to be set at server level, and can't be simply "dropped" into a folder. Unfortunately I don't have access to my site's actual server settings.
Basically what I need is a re-direct script that will re-direct regardless of whether file's are in the folder or not. using a default.asp or index.html etc page is fine, however, that won't trap any of the other
pages accessed.....(hope I am making sense?)
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:#I**************@tk2msftngp13.phx.gbl... If its an ASP site and the pages are .asp then use the Global.asa and redirect in the Session_OnStart sub. That will kick off every time an
ASP page is requested with no session active. You can also use a custom 404 error page to redirect (that's the way MS
do it I believe).
See: http://www.plinko.net/404/howto.asp?article=5 http://hotwired.lycos.com/webmonkey/...tml?tw=backend http://www.highcontext.com/Articles/howto/404.php
Hope this helps,
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Yes but, people and search engines are still trying to access the old pages -- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message news:uN*************@TK2MSFTNGP10.phx.gbl... have an asp page called default.asp.
In that page put <%response.redirect http://www.mysite%>
Who cares whether script detects that the folder is empty. The folder
is empty anyway..??..??..!!?>??
wtf You just said you will empty the folder
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Ob**************@TK2MSFTNGP10.phx.gbl... > Basically, what I'm looking for, is some sort of script that I can drop into > a folder on my server, and when someone visits that specific folder (I'm > going to remove all file's from the folder as I've moved the site), the > script detects the file is not there, and auto-redirects them to the new > location (kind of like a "clever" 404 page). > > As I do not have direct access to my server's settings (such as editing 404 > pages etc), I cannot do it the "normal" way. > > Anyone have any ideas, suggestions, scripts, reference links? > > -- > Regards > > Steven Burn > Ur I.T. Mate Group CEO > www.it-mate.co.uk > > Disclaimer: > I know I'm probably wrong, I just like taking part :o) > > >
How about just putting in new versions of the old pages? Each new version,
just redirects to your new site.
Obviously, that wouldn't work for images, but it would catch most of the
users.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:Ob**************@TK2MSFTNGP10.phx.gbl... Basically, what I'm looking for, is some sort of script that I can drop
into a folder on my server, and when someone visits that specific folder (I'm going to remove all file's from the folder as I've moved the site), the script detects the file is not there, and auto-redirects them to the new location (kind of like a "clever" 404 page).
As I do not have direct access to my server's settings (such as editing
404 pages etc), I cannot do it the "normal" way.
Anyone have any ideas, suggestions, scripts, reference links?
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
How about you change the DNS entries for that host header to point to an web
server that will (OK, you'd have to find an ASP host that's willing to
provide the redirection or a free host on apache etc.)?
This is of course presuming you have access to your domains DNS entries /
nameserver.
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:Od**************@TK2MSFTNGP10.phx.gbl...
It's an IIS server.
I've spoken with my host about it but, unfortunately, they aren't able to
provide that service for me.
Thanks anyway.
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:#C**************@TK2MSFTNGP11.phx.gbl... I believe that the custom 404 and Global.asa methods are the only methods available in IIS for non .asp (and .asp of course) pages and .asp pages respectively.
If it's apache then you may be able to do it with the .htaccess file?
You may be able to ask your host to set it up for you - might charge you though?
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:eA****************@TK2MSFTNGP11.phx.gbl... Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
I've read about the custom 404 pages, but from what I can gather, they
need to be set at server level, and can't be simply "dropped" into a folder. Unfortunately I don't have access to my site's actual server settings.
Basically what I need is a re-direct script that will re-direct regardless of whether file's are in the folder or not. using a default.asp or index.html etc page is fine, however, that won't trap any of the other
pages accessed.....(hope I am making sense?)
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:#I**************@tk2msftngp13.phx.gbl... If its an ASP site and the pages are .asp then use the Global.asa and redirect in the Session_OnStart sub. That will kick off every time an
ASP page is requested with no session active. You can also use a custom 404 error page to redirect (that's the way MS
do it I believe).
See: http://www.plinko.net/404/howto.asp?article=5 http://hotwired.lycos.com/webmonkey/...tml?tw=backend http://www.highcontext.com/Articles/howto/404.php
Hope this helps,
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Yes but, people and search engines are still trying to access the old pages -- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message news:uN*************@TK2MSFTNGP10.phx.gbl... have an asp page called default.asp.
In that page put <%response.redirect http://www.mysite%>
Who cares whether script detects that the folder is empty. The folder
is empty anyway..??..??..!!?>??
wtf You just said you will empty the folder
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Ob**************@TK2MSFTNGP10.phx.gbl... > Basically, what I'm looking for, is some sort of script that I can drop into > a folder on my server, and when someone visits that specific folder (I'm > going to remove all file's from the folder as I've moved the site), the > script detects the file is not there, and auto-redirects them to the new > location (kind of like a "clever" 404 page). > > As I do not have direct access to my server's settings (such as editing 404 > pages etc), I cannot do it the "normal" way. > > Anyone have any ideas, suggestions, scripts, reference links? > > -- > Regards > > Steven Burn > Ur I.T. Mate Group CEO > www.it-mate.co.uk > > Disclaimer: > I know I'm probably wrong, I just like taking part :o) > > >
Tom B wrote: "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Ob**************@TK2MSFTNGP10.phx.gbl... Basically, what I'm looking for, is some sort of script that I can drop into a folder on my server, and when someone visits that specific folder (I'm going to remove all file's from the folder as I've moved the site), the script detects the file is not there, and auto-redirects them to the new location (kind of like a "clever" 404 page). ... How about just putting in new versions of the old pages? Each new version, just redirects to your new site.
seems to be the O/Ps best option given the constraints.
Obviously, that wouldn't work for images, but it would catch most of the users.
why not?
--
William Tasso - http://WilliamTasso.com
If it's an ASP site then do what Chris recommended.
Otherwise, put this script in each html page on the site:
<script Language="JavaScript">
window.navigate("http://www.mynewsite.com");
</script>
Any old page accesses via search engines will direct the browser to the new
site.
Mike
"Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... I believe that the custom 404 and Global.asa methods are the only methods available in IIS for non .asp (and .asp of course) pages and .asp pages respectively.
If it's apache then you may be able to do it with the .htaccess file?
You may be able to ask your host to set it up for you - might charge you though?
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:eA****************@TK2MSFTNGP11.phx.gbl... Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
I've read about the custom 404 pages, but from what I can gather, they
need to be set at server level, and can't be simply "dropped" into a folder. Unfortunately I don't have access to my site's actual server settings.
Basically what I need is a re-direct script that will re-direct regardless of whether file's are in the folder or not. using a default.asp or index.html etc page is fine, however, that won't trap any of the other
pages accessed.....(hope I am making sense?)
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:#I**************@tk2msftngp13.phx.gbl... If its an ASP site and the pages are .asp then use the Global.asa and redirect in the Session_OnStart sub. That will kick off every time an
ASP page is requested with no session active. You can also use a custom 404 error page to redirect (that's the way MS
do it I believe).
See: http://www.plinko.net/404/howto.asp?article=5 http://hotwired.lycos.com/webmonkey/...tml?tw=backend http://www.highcontext.com/Articles/howto/404.php
Hope this helps,
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Yes but, people and search engines are still trying to access the old pages -- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message news:uN*************@TK2MSFTNGP10.phx.gbl... have an asp page called default.asp.
In that page put <%response.redirect http://www.mysite%>
Who cares whether script detects that the folder is empty. The folder
is empty anyway..??..??..!!?>??
wtf You just said you will empty the folder
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Ob**************@TK2MSFTNGP10.phx.gbl... > Basically, what I'm looking for, is some sort of script that I can drop into > a folder on my server, and when someone visits that specific folder (I'm > going to remove all file's from the folder as I've moved the site), the > script detects the file is not there, and auto-redirects them to the new > location (kind of like a "clever" 404 page). > > As I do not have direct access to my server's settings (such as editing 404 > pages etc), I cannot do it the "normal" way. > > Anyone have any ideas, suggestions, scripts, reference links? > > -- > Regards > > Steven Burn > Ur I.T. Mate Group CEO > www.it-mate.co.uk > > Disclaimer: > I know I'm probably wrong, I just like taking part :o) > > >
Because the o/p has no control over the server, so an end user requesting http://server/image1.jpg will get an error.
Although....the images could also be replaced with an image containing the
new url.
"William Tasso" <ne****@tbdata.com> wrote in message
news:ul**************@TK2MSFTNGP09.phx.gbl... Tom B wrote: "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Ob**************@TK2MSFTNGP10.phx.gbl... Basically, what I'm looking for, is some sort of script that I can drop into a folder on my server, and when someone visits that specific folder (I'm going to remove all file's from the folder as I've moved the site), the script detects the file is not there, and auto-redirects them to the new location (kind of like a "clever" 404 page). ... How about just putting in new versions of the old pages? Each new version, just redirects to your new site.
seems to be the O/Ps best option given the constraints.
Obviously, that wouldn't work for images, but it would catch most of the users.
why not?
-- William Tasso - http://WilliamTasso.com
I was going to do a re-direction with Javascript but, there's over 300 pages
:o( (very time consuming to do that).
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o)
Mike Florio <mi**@micro-point.com> wrote in message
news:vq************@corp.supernews.com... If it's an ASP site then do what Chris recommended.
Otherwise, put this script in each html page on the site:
<script Language="JavaScript"> window.navigate("http://www.mynewsite.com"); </script>
Any old page accesses via search engines will direct the browser to the
new site.
Mike "Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl... I believe that the custom 404 and Global.asa methods are the only
methods available in IIS for non .asp (and .asp of course) pages and .asp pages respectively.
If it's apache then you may be able to do it with the .htaccess file?
You may be able to ask your host to set it up for you - might charge you though?
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:eA****************@TK2MSFTNGP11.phx.gbl... Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
I've read about the custom 404 pages, but from what I can gather, they need to be set at server level, and can't be simply "dropped" into a folder. Unfortunately I don't have access to my site's actual server settings.
Basically what I need is a re-direct script that will re-direct
regardless of whether file's are in the folder or not. using a default.asp or index.html etc page is fine, however, that won't trap any of the other pages accessed.....(hope I am making sense?)
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:#I**************@tk2msftngp13.phx.gbl... If its an ASP site and the pages are .asp then use the Global.asa and redirect in the Session_OnStart sub. That will kick off every time an ASP page is requested with no session active. You can also use a custom 404 error page to redirect (that's the way
MS do it I believe).
See: http://www.plinko.net/404/howto.asp?article=5
http://hotwired.lycos.com/webmonkey/...tml?tw=backend http://www.highcontext.com/Articles/howto/404.php
Hope this helps,
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Yes but, people and search engines are still trying to access the old pages -- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message news:uN*************@TK2MSFTNGP10.phx.gbl... > have an asp page called default.asp. > > In that page put <%response.redirect http://www.mysite%> > > Who cares whether script detects that the folder is empty. The
folder is > empty anyway..??..??..!!?>?? > > wtf > You just said you will empty the folder > > > > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message > news:Ob**************@TK2MSFTNGP10.phx.gbl... > > Basically, what I'm looking for, is some sort of script that I can drop > into > > a folder on my server, and when someone visits that specific
folder (I'm > > going to remove all file's from the folder as I've moved the
site), the > > script detects the file is not there, and auto-redirects them to
the new > > location (kind of like a "clever" 404 page). > > > > As I do not have direct access to my server's settings (such as editing > 404 > > pages etc), I cannot do it the "normal" way. > > > > Anyone have any ideas, suggestions, scripts, reference links? > > > > -- > > Regards > > > > Steven Burn > > Ur I.T. Mate Group CEO > > www.it-mate.co.uk > > > > Disclaimer: > > I know I'm probably wrong, I just like taking part :o) > > > > > > > >
hehe, don't have access to those either :o(
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:Oa**************@TK2MSFTNGP10.phx.gbl... How about you change the DNS entries for that host header to point to an
web server that will (OK, you'd have to find an ASP host that's willing to provide the redirection or a free host on apache etc.)? This is of course presuming you have access to your domains DNS entries / nameserver.
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Od**************@TK2MSFTNGP10.phx.gbl... It's an IIS server.
I've spoken with my host about it but, unfortunately, they aren't able to provide that service for me.
Thanks anyway.
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:#C**************@TK2MSFTNGP11.phx.gbl... I believe that the custom 404 and Global.asa methods are the only
methods available in IIS for non .asp (and .asp of course) pages and .asp pages respectively.
If it's apache then you may be able to do it with the .htaccess file?
You may be able to ask your host to set it up for you - might charge you though?
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:eA****************@TK2MSFTNGP11.phx.gbl... Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
I've read about the custom 404 pages, but from what I can gather, they need to be set at server level, and can't be simply "dropped" into a folder. Unfortunately I don't have access to my site's actual server settings.
Basically what I need is a re-direct script that will re-direct
regardless of whether file's are in the folder or not. using a default.asp or index.html etc page is fine, however, that won't trap any of the other pages accessed.....(hope I am making sense?)
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:#I**************@tk2msftngp13.phx.gbl... If its an ASP site and the pages are .asp then use the Global.asa and redirect in the Session_OnStart sub. That will kick off every time an ASP page is requested with no session active. You can also use a custom 404 error page to redirect (that's the way
MS do it I believe).
See: http://www.plinko.net/404/howto.asp?article=5
http://hotwired.lycos.com/webmonkey/...tml?tw=backend http://www.highcontext.com/Articles/howto/404.php
Hope this helps,
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Yes but, people and search engines are still trying to access the old pages -- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message news:uN*************@TK2MSFTNGP10.phx.gbl... > have an asp page called default.asp. > > In that page put <%response.redirect http://www.mysite%> > > Who cares whether script detects that the folder is empty. The
folder is > empty anyway..??..??..!!?>?? > > wtf > You just said you will empty the folder > > > > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message > news:Ob**************@TK2MSFTNGP10.phx.gbl... > > Basically, what I'm looking for, is some sort of script that I can drop > into > > a folder on my server, and when someone visits that specific
folder (I'm > > going to remove all file's from the folder as I've moved the
site), the > > script detects the file is not there, and auto-redirects them to
the new > > location (kind of like a "clever" 404 page). > > > > As I do not have direct access to my server's settings (such as editing > 404 > > pages etc), I cannot do it the "normal" way. > > > > Anyone have any ideas, suggestions, scripts, reference links? > > > > -- > > Regards > > > > Steven Burn > > Ur I.T. Mate Group CEO > > www.it-mate.co.uk > > > > Disclaimer: > > I know I'm probably wrong, I just like taking part :o) > > > > > > > >
Cheers for the suggestion Tom. That seems like my best option at the moment.
Unfortunately, that means I'd have to do that for all 300+ pages :o(
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o)
Tom B <sh*****@NOSPAMhotmail.com> wrote in message
news:ua**************@tk2msftngp13.phx.gbl... How about just putting in new versions of the old pages? Each new
version, just redirects to your new site. Obviously, that wouldn't work for images, but it would catch most of the users.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Ob**************@TK2MSFTNGP10.phx.gbl... Basically, what I'm looking for, is some sort of script that I can drop into a folder on my server, and when someone visits that specific folder (I'm going to remove all file's from the folder as I've moved the site), the script detects the file is not there, and auto-redirects them to the new location (kind of like a "clever" 404 page).
As I do not have direct access to my server's settings (such as editing 404 pages etc), I cannot do it the "normal" way.
Anyone have any ideas, suggestions, scripts, reference links?
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
So who is your ISP?
They should provide access to the nameserver?
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:eI**************@TK2MSFTNGP11.phx.gbl...
hehe, don't have access to those either :o(
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:Oa**************@TK2MSFTNGP10.phx.gbl... How about you change the DNS entries for that host header to point to an
web server that will (OK, you'd have to find an ASP host that's willing to provide the redirection or a free host on apache etc.)? This is of course presuming you have access to your domains DNS entries / nameserver.
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Od**************@TK2MSFTNGP10.phx.gbl... It's an IIS server.
I've spoken with my host about it but, unfortunately, they aren't able to provide that service for me.
Thanks anyway.
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:#C**************@TK2MSFTNGP11.phx.gbl... I believe that the custom 404 and Global.asa methods are the only
methods available in IIS for non .asp (and .asp of course) pages and .asp pages respectively.
If it's apache then you may be able to do it with the .htaccess file?
You may be able to ask your host to set it up for you - might charge you though?
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:eA****************@TK2MSFTNGP11.phx.gbl... Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
I've read about the custom 404 pages, but from what I can gather, they need to be set at server level, and can't be simply "dropped" into a folder. Unfortunately I don't have access to my site's actual server settings.
Basically what I need is a re-direct script that will re-direct
regardless of whether file's are in the folder or not. using a default.asp or index.html etc page is fine, however, that won't trap any of the other pages accessed.....(hope I am making sense?)
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:#I**************@tk2msftngp13.phx.gbl... If its an ASP site and the pages are .asp then use the Global.asa and redirect in the Session_OnStart sub. That will kick off every time an ASP page is requested with no session active. You can also use a custom 404 error page to redirect (that's the way
MS do it I believe).
See: http://www.plinko.net/404/howto.asp?article=5
http://hotwired.lycos.com/webmonkey/...tml?tw=backend http://www.highcontext.com/Articles/howto/404.php
Hope this helps,
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:%2******************@TK2MSFTNGP12.phx.gbl... Yes but, people and search engines are still trying to access the old pages -- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message news:uN*************@TK2MSFTNGP10.phx.gbl... > have an asp page called default.asp. > > In that page put <%response.redirect http://www.mysite%> > > Who cares whether script detects that the folder is empty. The
folder is > empty anyway..??..??..!!?>?? > > wtf > You just said you will empty the folder > > > > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message > news:Ob**************@TK2MSFTNGP10.phx.gbl... > > Basically, what I'm looking for, is some sort of script that I can drop > into > > a folder on my server, and when someone visits that specific
folder (I'm > > going to remove all file's from the folder as I've moved the
site), the > > script detects the file is not there, and auto-redirects them to
the new > > location (kind of like a "clever" 404 page). > > > > As I do not have direct access to my server's settings (such as editing > 404 > > pages etc), I cannot do it the "normal" way. > > > > Anyone have any ideas, suggestions, scripts, reference links? > > > > -- > > Regards > > > > Steven Burn > > Ur I.T. Mate Group CEO > > www.it-mate.co.uk > > > > Disclaimer: > > I know I'm probably wrong, I just like taking part :o) > > > > > > > >
I'm using Inspiratech Ltd ( www.inspiratech.uk.com) for my hosting and domain
name
--
Regards
Steven Burn
Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer:
I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:eJ**************@TK2MSFTNGP09.phx.gbl... So who is your ISP? They should provide access to the nameserver?
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:eI**************@TK2MSFTNGP11.phx.gbl... hehe, don't have access to those either :o(
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:Oa**************@TK2MSFTNGP10.phx.gbl... How about you change the DNS entries for that host header to point to an web server that will (OK, you'd have to find an ASP host that's willing to provide the redirection or a free host on apache etc.)? This is of course presuming you have access to your domains DNS entries
/ nameserver.
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:Od**************@TK2MSFTNGP10.phx.gbl... It's an IIS server.
I've spoken with my host about it but, unfortunately, they aren't able
to provide that service for me.
Thanks anyway.
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:#C**************@TK2MSFTNGP11.phx.gbl... I believe that the custom 404 and Global.asa methods are the only methods available in IIS for non .asp (and .asp of course) pages and .asp
pages respectively.
If it's apache then you may be able to do it with the .htaccess file?
You may be able to ask your host to set it up for you - might charge
you though?
Chris.
"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message news:eA****************@TK2MSFTNGP11.phx.gbl... Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
I've read about the custom 404 pages, but from what I can gather, they need to be set at server level, and can't be simply "dropped" into a
folder. Unfortunately I don't have access to my site's actual server settings.
Basically what I need is a re-direct script that will re-direct regardless of whether file's are in the folder or not. using a default.asp or index.html etc page is fine, however, that won't trap any of the other pages accessed.....(hope I am making sense?)
-- Regards
Steven Burn Ur I.T. Mate Group CEO www.it-mate.co.uk
Disclaimer: I know I'm probably wrong, I just like taking part :o)
Chris Barber <ch***@blue-canoe.co.uk.NOSPAM> wrote in message news:#I**************@tk2msftngp13.phx.gbl... > If its an ASP site and the pages are .asp then use the Global.asa
and > redirect in the Session_OnStart sub. That will kick off every time
an ASP > page is requested with no session active. > You can also use a custom 404 error page to redirect (that's the way MS do > it I believe). > > See: > http://www.plinko.net/404/howto.asp?article=5 > http://hotwired.lycos.com/webmonkey/...tml?tw=backend > http://www.highcontext.com/Articles/howto/404.php > > Hope this helps, > > Chris. > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message > news:%2******************@TK2MSFTNGP12.phx.gbl... > Yes but, people and search engines are still trying to access the
old pages > > -- > Regards > > Steven Burn > Ur I.T. Mate Group CEO > www.it-mate.co.uk > > Disclaimer: > I know I'm probably wrong, I just like taking part :o) > > > Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message > news:uN*************@TK2MSFTNGP10.phx.gbl... > > have an asp page called default.asp. > > > > In that page put <%response.redirect http://www.mysite%> > > > > Who cares whether script detects that the folder is empty. The folder is > > empty anyway..??..??..!!?>?? > > > > wtf > > You just said you will empty the folder > > > > > > > > > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message > > news:Ob**************@TK2MSFTNGP10.phx.gbl... > > > Basically, what I'm looking for, is some sort of script that I
can drop > > into > > > a folder on my server, and when someone visits that specific folder (I'm > > > going to remove all file's from the folder as I've moved the site), the > > > script detects the file is not there, and auto-redirects them to the new > > > location (kind of like a "clever" 404 page). > > > > > > As I do not have direct access to my server's settings (such as editing > > 404 > > > pages etc), I cannot do it the "normal" way. > > > > > > Anyone have any ideas, suggestions, scripts, reference links? > > > > > > -- > > > Regards > > > > > > Steven Burn > > > Ur I.T. Mate Group CEO > > > www.it-mate.co.uk > > > > > > Disclaimer: > > > I know I'm probably wrong, I just like taking part :o) > > > > > > > > > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Dave |
last post by:
After following Microsofts admonition to reformat my system before doing a
final compilation of my app I got many warnings/errors upon compiling an rtf
file created in word. I used the Help...
|
by: Tom |
last post by:
A question for gui application programmers. . .
I 've got some GUI programs, written in Python/wxPython, and I've got
a help button and a help menu item. Also, I've got a compiled file
made with...
|
by: wukexin |
last post by:
Help me, good men. I find mang books that introduce bit "mang header
files",they talk too bit,in fact it is my too fool, I don't learn it, I have
do a test program, but I have no correct doing...
|
by: Colin J. Williams |
last post by:
Python advertises some basic service:
C:\Python24>python
Python 2.4.1 (#65, Mar 30 2005, 09:13:57) on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
With...
|
by: Corepaul |
last post by:
Missing Help Files
When I enter "recordset" as the keyword and search the Visual Basic Help index,
I get many topics of interest in the resulting list. But there isn't any
information available...
|
by: Steve |
last post by:
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp
My expectation is that a developer using my DLL would be able to access this help file during his development time...
|
by: Mark |
last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my
home computer has an abbreviated help screen not 2% of the help on my laptop.
All the settings look the same on both...
|
by: JonathanOrlev |
last post by:
Hello everybody,
I wrote this comment in another message of mine, but decided to post it
again as a standalone message.
I think that Microsoft's Office 2003 help system is horrible, probably...
|
by: trunxnirvana007 |
last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"'
'UPGRADE_WARNING: Couldn't resolve...
|
by: hitencontractor |
last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003.
I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About.
The application...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |