abch624 Posted May 28, 2009 Share Posted May 28, 2009 Hi Guys, I am designing a website that will list properties for sale. Now I use a template for propertyforsale and the url would be something like this www.example.com/sale/?id=1 which works perfectly fine. But I have seen sites that have URLS like this http://www.trulia.com/property/1079064689-333-Rector-Pl-908-New-York-NY-10280. Now I dont think that the website has a folder for every property? How can I have the same type of URL instead of www.example.com/sale/?id=1. Cheers - Zahid Link to comment https://forums.phpfreaks.com/topic/160064-query-about-php-structure/ Share on other sites More sharing options...
paulman888888 Posted May 28, 2009 Share Posted May 28, 2009 look up .htaccess URL REWRITE rules and conditions google it All the best Paul Link to comment https://forums.phpfreaks.com/topic/160064-query-about-php-structure/#findComment-844449 Share on other sites More sharing options...
roopurt18 Posted May 28, 2009 Share Posted May 28, 2009 More specifically: mod_rewrite Link to comment https://forums.phpfreaks.com/topic/160064-query-about-php-structure/#findComment-844469 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.