Error 404 URL Redirection
Posted: Tue Mar 31, 2009 5:33 pm
I bet this involves .htaccess more than php but I wasn't sure so I am posting here anyway.
I am trying to get a url with a random string at the end to redirect to a specific php page with the string appended as a GET variable. For example:
http://www.whatever.com/Google
Becomes
http://www.whatever.com/redirect.php?q=Google
But
http://www.whatever.com/
Goes to the index.php file.
Any help would be much appreciated.
I am trying to get a url with a random string at the end to redirect to a specific php page with the string appended as a GET variable. For example:
http://www.whatever.com/Google
Becomes
http://www.whatever.com/redirect.php?q=Google
But
http://www.whatever.com/
Goes to the index.php file.
Any help would be much appreciated.