calliepeck
10-10-2007, 03:15 PM
I just found out that my client sent their product to press with the wrong url for an "exclusive" content page of the site I'm designing. Namely, they used a forward- instead of a back-slash in the url: www.thesite.com\exclusives
I'm working on my local LAMP server now and I can get a custom error page running fine, but I need to capture the requested url and redirect to the REAL exclusives page ONLY IF they typed in the www.thesite.com\exclusives.
Obviously, since it's exclusive content, I can't just put a link on all 404 pages.
Anyone know how to help me? I can't grab the $_SERVER['REDIRECT_URL'] variable that I'm apparently supposed to access.
Thanks
I'm working on my local LAMP server now and I can get a custom error page running fine, but I need to capture the requested url and redirect to the REAL exclusives page ONLY IF they typed in the www.thesite.com\exclusives.
Obviously, since it's exclusive content, I can't just put a link on all 404 pages.
Anyone know how to help me? I can't grab the $_SERVER['REDIRECT_URL'] variable that I'm apparently supposed to access.
Thanks