Jan 13 2012

A Guide to the Best Htaccess mod-rewrite Resources on the Web

Category: serverUlrich Palha @ 1:30 pm

Overview

In one of my earlier posts I covered basic use of .htaccess and mod_rewrite. If you have shared hosting using Apache and want to create SEO friendly URLs, redirect old URLs to new, stop image hotlinking, restrict access to your site’s content or any one of the many things that are demanded of you as as a webmaster, then .htaccess and mod_rewrite offer you this and a whole lot of other functionality.

But all this functionality and flexibility has its drawback: complexity – Apache Mod_Rewrite Documentation

Fortunately, there are a number of good resources on the web, and a couple of books that help you understand all you need to know about .htaccess and mod_rewrite
Continue reading “A Guide to the Best Htaccess mod-rewrite Resources on the Web”

Tags: , , ,


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: , , ,