Reading the URL to re-direct

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nicktherockstar
Forum Newbie
Posts: 2
Joined: Fri Apr 18, 2008 1:14 pm

Reading the URL to re-direct

Post by nicktherockstar »

Hi guys, I have found the forums a great help as a lurcher, but now its time to jump in with a question!


Is there a way to read the url and then use that info i.e. in my case for re-direction

to put it into context, what I would like to do, it allow someone to hit e.g.

http://www.example.com/nick

then say... it would redirect to my forum profile for instance

cheers in advance!!!
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Reading the URL to re-direct

Post by aceconcepts »

Try looking up mod_rewrite in a search engine
nicktherockstar
Forum Newbie
Posts: 2
Joined: Fri Apr 18, 2008 1:14 pm

Re: Reading the URL to re-direct

Post by nicktherockstar »

cheers, as ever with these things its just a matter of knowing what to look for in the first place :)
Post Reply