Jump to content

rewrite rule problem


dsp77

Recommended Posts

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

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.