Mstar12 Posted June 16, 2010 Share Posted June 16, 2010 Hello, I've got a pretty limited background in programming (Java and html) and I'm helping someone with their site. It's pretty small, a PHP index page that loads several html templates to a frame. It was written by a professional designer, the code is straight forward and efficient and gets the job done but we're looking to spruce it up a bit. We've got the .com domain setup but when you navigate the site it gives a generic code bit on the URL ".com/page.php?id=3" and we'd like to have it display something a little more human and friendly so people can type it in (eg. .com/associates) The hosting site provides pre-coded 301 redirects so we should do that without too much trouble but if anyone has any idea where to even start with this project help would be much appreciated! I've been told this is doable within the php structure so hopefully we wont have to start anything from scratch. Thank you for reading this! Link to comment https://forums.phpfreaks.com/topic/204904-new-to-php-looking-for-some-direction/ Share on other sites More sharing options...
kratsg Posted June 16, 2010 Share Posted June 16, 2010 I don't particularly know a PHP solution - however I do know websites that employ something similar using a mod_rewrite in their .htaccess files. In particular - googling gave me this nice tutorial: http://articles.sitepoint.com/article/guide-url-rewriting Link to comment https://forums.phpfreaks.com/topic/204904-new-to-php-looking-for-some-direction/#findComment-1072759 Share on other sites More sharing options...
Mstar12 Posted June 16, 2010 Author Share Posted June 16, 2010 Thank you very much, I'll admit I was completely lost this but I think this might put me on the right track! Link to comment https://forums.phpfreaks.com/topic/204904-new-to-php-looking-for-some-direction/#findComment-1072787 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.