Page 1 of 1

Get URL on a 404 page

Posted: Sun Feb 15, 2009 9:03 pm
by vbmark
Hello,

I want people to be able to enter a link to my site like this:

http://www.mydomain.com/his-username/his-page3

That page does not exist so I want to grab the URL and parse it.

I figure can send it anywhere on a 404, but how do I get the URL when it hits my 404 page?

Thanks!

Re: Get URL on a 404 page

Posted: Sun Feb 15, 2009 9:29 pm
by requinix
There's this thing called URL rewriting...