The URL in the browser would be:
http://yoursite.com/index.php/fruit/banana/
The actual page rendered by the server would be:
http://yoursite.com/index.php?search=fruit&name=banana
Solution
http://yoursite.com/index.php/fruit/banana/
The actual page rendered by the server would be:
http://yoursite.com/index.php?search=fruit&name=banana
Solution
RewriteEngine on
RewriteRule ^index/([^/]+)/([^/]+).php /page.php?search=$1&name=$2 [NC]
0 comments:
Post a Comment