Author Topic: address redirection  (Read 2614 times)

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14305
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
address redirection
« 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?

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14305
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
Re: address redirection
« Reply #1 on: February 26, 2008, 09:37:59 AM »
Nevermind, I just used a custom 404 page with some PHP and header redirects to do it.

KnuckleBuckett

  • Jackass In Charge
  • Posts: 8674
  • Karma: +26/-259
  • [url=http://google.com]I search a lot[/url]
Re: address redirection
« Reply #2 on: February 26, 2008, 09:52:55 AM »
FUCK YOU GODADDY

eeeeeeeek

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14305
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
Re: address redirection
« Reply #3 on: February 26, 2008, 10:37:19 AM »
Actually... godaddy's control panel allowed me to do this.  But they still suck.

hans

  • Guitar Addict
  • Jackass In Charge
  • Posts: 3523
  • Karma: +46/-18
Re: address redirection
« Reply #4 on: February 26, 2008, 04:49:13 PM »
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.
This signature intentionally left blank.

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14305
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
Re: address redirection
« Reply #5 on: February 26, 2008, 06:29:49 PM »
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.