hi,
I am trying to make my pages seo friendly.
I have a links in my page.
http://abc.com/test.php?Section=pages&title=feedback+%26+enquiry
it works fine and title has value "feedback & enquiry". I changed above link to:
http://abc.com/pages/feedback+%26+enquiry.htm
I wrote the htaccess code like:
Options +FollowSymLinks
RewriteEngine on
RewriteRule index.htm$ index.php
RewriteRule ^(.*)/(.*)\.htm$ /test.php?Section=$1title=$2 [R]
i expected the same the result but i was surprised to see the error as the title is having value or "feedbac" and new variable "enquiry" being created with value ""
I am being unable to find the error. I guess its the htaccess conversion error. so how can i make it work?
I tried backescaping but got internal server error. My new htaccess code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule index.htm$ index.php
RewriteRule ^(.*)/(.*)\.htm$ index.php?Section=$1&title=$2 [R,B]
My Apache version is : 2.2.4