Jump to content

Url Rewriting Statement Not Working


phdphd

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.