Categories

Updated: 04/25/2005

Correct Redirect

If you have ever used a redirecting service, you know that the redirect, regardless of the typed in URL, always goes to the hardcoded URL, unless you yourself handle the redirecting. Especially when the redirection is done in a frame. Any attempt to use JavaScript to fix this problem fails usually due to browser security issues. By including this code snippet, you can have the url cascade to the redirected url. Requires: Php v3.0.18 or higher. Now correctly ignores trailing ?s in URI.
©2003-2019 jCay.com