Forum: Apache configuration
03-30-2012, 12:41 PM
|
|
Replies: 1
Views: 643
I made it work this way:
RewriteRule...
I made it work this way:
RewriteRule ^([a-z]+)/?$ site.php?pg=$1 [L]
But it don't wan't to work if I add the php extension like before:
RewriteRule ^([a-z]+)\.php$ site.php?pg=$1 [L]
|
Forum: Apache configuration
03-28-2012, 01:52 PM
|
|
Replies: 1
Views: 643
ModRewrite help
Hi,
I'm trying to make site.com/home.php rewrited to site.com/site.php?pg=home so all my URL will be:
site.com/home.php
site.com/about.php
site.com/contact.php
etc..
instead of:
|