le007 Posted October 11, 2007 Share Posted October 11, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/72864-htaccess-rewriting-url-almost-right-some-help-pls/ Share on other sites More sharing options...
marcus Posted October 11, 2007 Share Posted October 11, 2007 RewriteEngine On RewriteRule ^([^-]*)$\-([^-]*)$\-property$ index.php?county=$1&townnumber=$2 Quote Link to comment https://forums.phpfreaks.com/topic/72864-htaccess-rewriting-url-almost-right-some-help-pls/#findComment-367468 Share on other sites More sharing options...
le007 Posted October 11, 2007 Author Share Posted October 11, 2007 No didn't work champ - any chance u cud help me out here? Quote Link to comment https://forums.phpfreaks.com/topic/72864-htaccess-rewriting-url-almost-right-some-help-pls/#findComment-367486 Share on other sites More sharing options...
le007 Posted October 12, 2007 Author Share Posted October 12, 2007 Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/72864-htaccess-rewriting-url-almost-right-some-help-pls/#findComment-367514 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.