Helpful Information
 
 
Category: Scripts
redirection

Hi:

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.

Have you checked hotscripts, sourceforge, google.... (links in my sig) ?

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

Originally posted by usrbin
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

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. :cool:

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.

Thanks

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

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.

Originally posted by Reactor
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

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.










privacy (GDPR)