August 28th, 2003, 04:37 PM
I recently put a new website in place and am creating redirect pages for people who bookmarked the old pages.
I need to know how I can redirect users if they go to any page in a particular folder without having to create a redirect page for every single page in that folder?
Is this possible? I imagine I'd have to write a script for it but I don't really know how.
Any help will be highly appreciated. People with bookmarked pages are going crazy and complaining that they are not being redirected.
Thank you very much in advance.
August 28th, 2003, 04:48 PM
Have you checked hotscripts, sourceforge, google.... (links in my sig) ?
August 28th, 2003, 04:54 PM
I looked up google and some newsgroups. I'm not really sure what to look for? A "redirection" script? I guess I'd better look before I waste any more of your time. Thanks
August 28th, 2003, 04:58 PM
Its not a big deal. Take a browser through hotscripts and sourceforge... if you don't find anything there, post back, I'll give you a hand.
August 28th, 2003, 05:19 PM
I looked through "redirection" on hotscripts and looked at both url based and link based but couldn't really figure out which would work for me. It seemed like all of them did some kind of subdomain redirection. On sourceforge the redirect scripts were related to Squid server or were doing stdin/stdout redirects. I couldn't find one that would help me redirect all users trying to get into files in the /instr folder to go to a file in the /new folder.
I really appreciate your help on this.
August 28th, 2003, 07:08 PM
Use a meta refresh tag at the page you want to move them to:
<META HTTP-EQUIV="refresh" CONTENT="3; url=http://www.yourdomain.com">
Place this in your meta tag
CONTENT= 3 (3 being the seconds before it sends them to that page
This should work
August 29th, 2003, 10:46 AM
I've used the meta tag for individual page redirects. I need to redirect people trying to get to any of the 50 pages under the folder /instr to a new page.
Thanks for your help.
August 29th, 2003, 10:48 AM
Right, but then he's forced to create a URL redirect on every old page he has... not ideal, nor what he's looking for.