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 ! 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? 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.