ActaNonVerba1 Posted May 30, 2011 Share Posted May 30, 2011 Hey guys. I currently have my website set up 'generating' php pages, rather than simply getting data off the database. Which is silly. I have no rectified that issue but end up with ugly urls such as http://www.worldwidelighthouses.com/Lighthouses/English-Lighthouses/Trinity-House-Owned/Lighthouse.php?Lighthouses=Beachy-Head Whats the best way to translate that into http://www.worldwidelighthouses.com/Lighthouses/English-Lighthouses/Trinity-House-Owned/Beachy-Head Im hopeless with apaches mod_rewrite... Many many thanks in advance. Danny Quote Link to comment https://forums.phpfreaks.com/topic/237932-alternative-to-mod_rewrite/ Share on other sites More sharing options...
echoCarlos Posted May 30, 2011 Share Posted May 30, 2011 hey mate im pretty new to web dev but im pretty sure this is what you're looking for http://net.tutsplus.com/tutorials/other/using-htaccess-files-for-pretty-urls/ Quote Link to comment https://forums.phpfreaks.com/topic/237932-alternative-to-mod_rewrite/#findComment-1222642 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.