Forum Moderators: open

Message Too Old, No Replies

Page Redirection

erdirect after bad page request

         

webstudio

1:53 am on Nov 20, 2004 (gmt 0)

10+ Year Member



hi there,

when redeveloping a web site it is impossible to keep the same file names for every page, esspecially when the total site sructure changes.

i am in the process of redeveloping a site, but once the new site is live i am interested in seeing how to make any requests for old pages redirect to the home page of the new site.

i have often seen the following paegs displayed in the case of a bad request:
--this page has been moved
--An error has occured
or, simply a redirection to another page.

Any information on how this can be achieved would be helpful. I am only assuming that it's a JavaScript solution.

Thanks
Andreas

adni18

2:45 am on Nov 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could use a perl script for a custom error page (.htaccess) and use that to determine which page to refer the user to.