I have the URL www.something.com/HereWeGo, I want to get HereWeGo without the 404 error

Posted by Jean on Stack Overflow See other posts from Stack Overflow or by Jean
Published on 2010-04-06T08:07:26Z Indexed on 2010/04/06 8:13 UTC
Read the original article Hit count: 225

Filed under:
|

Hello,

Consider the URL www.something.com/HereWeGo. When someone enters the url, the site shows a 404 error since the directory does not exists. I can parse the URL to get the query and HereWeGo, but cannot stop it from going to a 404 error.

How can I achieve it by PHP, if it is possible to avoid .htaccess now

Thanks Jean

© Stack Overflow or respective owner

Related posts about php

Related posts about .htaccess