Can anyone see a problem in this htaccess file. its not communicating 100% with my server, what i mean by that is all the links when clicked on in my website are working but some are going to a default/incorrect database page. Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^buy-category-car-for-sale-(.*)-([0-9]+)-([0-9]+).php search.php?category=$2&_p=$3 RewriteRule ^buy-industry-car-for-sale-(.*)-([0-9]+)-([0-9]+).php search.php?industry=$2&_p=$3 RewriteRule ^buy-countries-car-for-sale-(.*)-([0-9]+)-([0-9]+).php search.php?countries=$2&_p=$3 RewriteRule ^buy-price-car-for-sale-(.*)-([0-9]+)-([0-9]+).php search.php?price=$2&_p=$3 RewriteRule ^(.*)-([a-zA-Z0-9]+).php summary_details.php?ID=$2 PHP:
Options +FollowSymLinks +Indexes RewriteEngine on RewriteBase / RewriteRule ^buy\-category\-car\-for\-sale\-([^.]+)\-([0-9]+)\-([0-9]+)\.html$ search.php?category=$2&_p=$3 [L] RewriteRule ^buy\-industry\-car\-for\-sale\-([^.]+)\-([0-9]+)\-([0-9]+)\.html$ search.php?industry=$2&_p=$3 [L] RewriteRule ^buy\-countries\-car\-for\-sale\-([^.]+)\-([0-9]+)\-([0-9]+)\.html$ search.php?countries=$2&_p=$3 [L] RewriteRule ^buy\-price\-car\-for\-sale\-([^.]+)\-([0-9]+)\-([0-9]+)\.html$ search.php?price=$2&_p=$3 [L] RewriteRule ^([^.]+)\-([a-zA-Z0-9]+)\.html$ summary_details.php?ID=$2 [L]
still not much luck when i click on a link it tells me this; The requested URL /buy-category-car-for-sale-Bangkok-1-1.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.36 Server at ww.carsalesearch.com Port 80
Where ever you change the code to the new type of URLs. Where it has php change it to html. HTML is better than php. http://www.carsalesearch.com/buy-category-car-for-sale-Bangkok-1-1.html works.