i'm having little issue modrewrite under php. inside .htaccess file:
rewriteengine on rewriterule ^test.html$ test.php rewriterule ^index.html$ index.php
it works nicely test.html -> test.php i'm getting 404 error when trying acceses domain www.domain.com/index.html althought it's same structure , should work .. :/ when using www.domain.com works.
any idea what's wrong using index.php -> index.html?
thanks
it sounds index.php doesn't exist.
when go http://www.domain.com going hit index.html (or index.php) , in case of index.html wont fire rewrite rule (as request uri / or empty string)
Comments
Post a Comment