Nov 26 2011

Improve your site’s SEO with Basic URL rewriting/redirects using mod_rewrite in .htaccess

Category: .htaccessUlrich Palha @ 12:19 am

Overview

If you host your own site with shared linux hosting using Apache, and you are interested in SEO, then there is good chance that you will  want to rewrite and/or redirect your URLs. One of the ways to do this is to use .htaccess.  I will cover a couple of the common examples that I have come across recently together with a detailed explanation of each

Keyword Rich URLs

Lets assume that you have a book application that you currently access via http://www.mysite.com/books/index.php?id=1590595610 and you want to transform it to a keyword rich URL format like http://www.bigsite.com/Definitive-Guide-Apache-mod_rewrite-Guides/ep/1590595610. This change is relatively easy and can be done by adding the code below to a file called .htaccess that you place in the root folder of your www.mysite.com domain.
Continue reading “Improve your site’s SEO with Basic URL rewriting/redirects using mod_rewrite in .htaccess”

Tags: , , ,