By: Prem Tiwari | Last Updated:
SEO (Search Engine Optimization) is the most important part in web development. After developed your website your website needs do proper SEO to promote your contents with relevant users. There are few trick which will help to boost your website’s SEO score.
I am going to explain how to create SEO friendly URL for your website using .htaccess file. Using the SEO Friendly url’s You can get the high ranked in Search Engine result Pages.
Dynamic URL :
SEO friendly URL :
Create a .htaccess file on root directory of your website and copy paste below code in your .htaccess file. Below code will rewrite your all dynamic urls with seo friendly url like https://www.freewebmentor.com/2013/09/drupal-tutorial-beginners-step-step.html
RewriteRule page-id-(.*)\.html$ page.php?id=$1
Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.View all posts by Prem Tiwari