Hello all, I have a site that has url's something like theis - abcd.domain.ro/category.php?id=subzero i did a mod rewrite and converted the dynamic pages to static to make it seo friendly .i wanted the pages to end with a .html extension ( my original pages are in php).So i used teh accecptpathinfo() directive to force the php files to be displayed as html. this didn't work as i have apache 1.37 version installed and accecptpathinfo () is supported by apache 2.0 and above. So i just made simple rewrite with the code like this - RewriteEngine On RewriteRule ^(.*)-([0-9]+).html$ category.php?id=$2 will this work ? plus do i have to update the links as well or the search engines will automatically index the static pages by following the parameters in the .htaccess file. thanks for your time.
Try this one RewriteEngine On RewriteRule ^([^/]*)\.html$ /category.php?id=$1 [L] it should look like http://abcd.domain.ro/subzero.html
will using [301,L] help me in any ways ? plus do i need to update my links as well or spiders will automatically find my new links and index it as per the parameters in the .htaccess file.