Jump to content

.htaccess rewriting URL - almost right, some help pls?


le007

Recommended Posts

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)-([^/]+)-property/?$ /index.php?locate=viewresults&cp_county=$1&cp_town=$2&minprice=0&maxprice=999999999999999&srch_property_type=\%25&minbeds=1&maxbeds=99 [L]

 

I'm trying to get this php to work with the above to make the URL

county-townnumber-property

 

index.php?locate=viewresults&cp_county=Countyhere&cp_town=0&minprice=0&maxprice=999999999999999&srch_property_type=%25&minbeds=1&maxbeds=99

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.