unsider Posted July 15, 2008 Share Posted July 15, 2008 One thing I've never really payed much attention to, but jut recently started noticing is that some sites are displaying page URL's without the file extension at the end of them. I'm curious what this is called. ie. example.com/forums/index.php?action=post,board=1.0 example.com/forums/post/board/1/ I'm surprised I never really noticed this, or knew what it was. Other than a clean URL, *shrug*. So please educate me. Quote Link to comment Share on other sites More sharing options...
samshel Posted July 15, 2008 Share Posted July 15, 2008 Hi unsider, You can use static URLs with URL rewrite/.htaccess combination. This helps in improving SEO. please google around for more info. Quote Link to comment Share on other sites More sharing options...
unsider Posted July 15, 2008 Author Share Posted July 15, 2008 Thanks, I just needed a search term, I'm more than happy to google it. I learn more that way anyway Quote Link to comment Share on other sites More sharing options...
Juan Dela Cruz Posted July 15, 2008 Share Posted July 15, 2008 this is done using modrewrire from your htaccess Quote Link to comment Share on other sites More sharing options...
unsider Posted July 15, 2008 Author Share Posted July 15, 2008 I guess one more question before I topic solve this.. Is it necessary, will it prevent security flaws, any benefits? or is it just preference? Quote Link to comment Share on other sites More sharing options...
Juan Dela Cruz Posted July 15, 2008 Share Posted July 15, 2008 Hi unsider, You can use static URLs with URL rewrite/.htaccess combination. This helps in improving SEO. please google around for more info. hmm i dont think it will really help SEO thingy? can you tell us how? because if this is dynamic query string then you will have dynamic URL and google will be confused indexing that page? please correct me if i was wrong Quote Link to comment Share on other sites More sharing options...
samshel Posted July 15, 2008 Share Posted July 15, 2008 Hi Juan, let me try... Generally we have URLs like category.php?id=1 //displays details of category with id = 1 category.php?id=2 //displays details of category with id = 2 and so on... 1) Google does not like URLs with "?". 2) There is no information about the category itself in the URL so google does not get more information.. Using Static URLs we can use following URLs for the same purpose.. category/1/mobiles.html // this will internally redirect to category.php?id=1 category/2/washing_machines.html // this will internally redirect to category.php?id=2 1) There are no "?" so google likes them 2) There is information about category name so google indexes the url higher. hope it is clear... atleast thats my understanding.. i may be wrong. Quote Link to comment Share on other sites More sharing options...
unsider Posted July 15, 2008 Author Share Posted July 15, 2008 Sounds good to me, and google will help as well. Thanks for the thorough explanation. Appreciate it. http://www.webconfs.com/dynamic-urls-vs-static-urls-article-3.php EDIT: you were right, nice article for anyone else who stumbles upon this thread. Quote Link to comment 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.