phdphd Posted June 20, 2017 Share Posted June 20, 2017 Hi All, May someone tell me why this very simple url rewriting statement does not work (I still get "fr/hello.php" in the address bar instead of "fr/world.html") ? The .htaccess file is at the root, and there is a subfolder called "fr", that contains the file "hello.php" RewriteEngine on RewriteRule fr/world.html fr/hello.php Thanks ! Quote Link to comment Share on other sites More sharing options...
ginerjm Posted June 20, 2017 Share Posted June 20, 2017 Maybe you want to try an Apache forum? Quote Link to comment Share on other sites More sharing options...
phdphd Posted June 20, 2017 Author Share Posted June 20, 2017 In fact, I used a wrong way to test the feature (clicking the file name in a directory listing in the browser). Everything seems ok now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.