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
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.