|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
Have you checked hotscripts, sourceforge, google.... (links in my sig) ?
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever. Analyze twice; hack once. The world's first existential ITIL question: If a change is released into production without a ticket to track it, was it actually released? About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect - Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire |
|
#3
|
|||
|
|||
|
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
|
|
#4
|
||||
|
||||
|
Quote:
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. ![]() |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
||||
|
||||
|
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 |
|
#7
|
|||
|
|||
|
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. |
|
#8
|
||||
|
||||
|
Quote:
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. |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > redirection |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|