EntropySink
Technical & Scientific => Programming => Topic started by: ober on February 25, 2008, 11:42:32 AM
-
So here's my scenario:
www.site.com (redirects to www.site.com/site)
www.site.com/site (live site)
www.site.com/v2 (test area)
www.site.com/blahblah needs to be redirected to www.site.com/site/index.php?test3=test2&test=test3
My client is doing some advertisting and he wants a short URL to get to a specific place on the site. I don't have mod_rewrite (FUCK YOU GODADDY) and I'd like to avoid the "create folder place redirect index in it" route because I want to be able to add multiple entries in case people can't spell.
Is there anyway to do this other than creating a custom 404 page? I should do the 404 thing anyways, but I'm just wondering if my index that does the site redirect could handle this in some way?
-
Nevermind, I just used a custom 404 page with some PHP and header redirects to do it.
-
FUCK YOU GODADDY
eeeeeeeek
-
Actually... godaddy's control panel allowed me to do this. But they still suck.
-
If you weren't against a parameter URL you could do something like
www.website.com/?abc
but that's slightly awkward for people to type in.
-
Yeah, I want it nice and clean. This is going in a magazine. With a custom 404, I can catch anything and not depend on a particular character to be typed in.