dsp77 Posted April 14, 2011 Share Posted April 14, 2011 i'm using PEAR SIGMA template where the pages are generated like: www.site.com/index.php?page=contact my htaccess file is: Options +FollowSymLinks RewriteEngine On RewriteRule ^([^/]*)\.html$ index.php?page=$1 [L] It works if i access the page directly by www.site.com/contact.html but the links in the site are not changed, the rewrite shouldn't change those links automatically? Link to comment https://forums.phpfreaks.com/topic/233718-rewrite-rule-problem/ Share on other sites More sharing options...
requinix Posted April 14, 2011 Share Posted April 14, 2011 The rewrite will only go from friendly->unfriendly. It will not redirect unfriendly->friendly and it certainly won't change all your links. Link to comment https://forums.phpfreaks.com/topic/233718-rewrite-rule-problem/#findComment-1201602 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.