SEO FAQ

What is ModRewrite and when should I use it?

Trust level: Proven and confirmed

Mod_Rewrite is a set of functions built into .htaccess, an Apache module which allows for all sorts of nifty tricks with URL's, Error Pages, etc.

Mod_Rewrite specifically is used mostly for changing dynamic links, such as:

http://www.example.com/shop.php?cat=4&id=123

into search engine friendly static URL's, such as:

http://www.example.com/shop/4/123.html

While the dynamic link won't get indexed easily, and likely not at all without external sites linking directly to that URL, the static link will get indexed with simple internal linking.

Mod_Rewrite is a very powerful tool for creating static links for content management systems, forums, and the like. From personal experience, after converting dynamic links on a games website I run to static links using .htaccess, my search engine results have multiplied many times over.
 
Answer provided by:

Harley Barnett

SEO FAQ

  Submit an answer or add information
to the question: What is ModRewrite and when should I use it?


Only the top high quality submissions are approved. If you don't know SEO it is not needed that you waste your time here.

Trust level:
It is important that you select the correct one.
Answer:
Thousands of people will read what you write here and you represent it with your name.
Only unique content, no cut and paste (I will check with Google - don't want this site be hitten by the duplicate content filter).
Don't write something that was already answered to this question earlier but you may add information to earlier answers.
Any promotion for any company/person etc. will be edited out.
HTML can be used but sparingly. Use <em> instead of <strong> to emphasize words. But feel free to use headings, lists and vital neutral links.
Name:
Personal name, company name or forum nick name only. This is not for your keywords, sorry.
URL:
Only accepted to site related to SEO and you.
For example: SEO company, personal SEO oriented blogg or forum profile of SEO forum.
E-mail:
Optional. If you provide one I can contact you with editing questions and let you know if your answer was approved.

Please verify that all is ok before submitting.



SEO FAQ

Although great efforts are taken to ensure the answers posted in this FAQ are true, no guarantee is made that it is so and no responsibility is taken by this site nor the authors concerning your rankings or SEO activities.