.htaccess for Windows Server: How To Use ISAPI Rewrite To Handle Canonicalization and Redirects For SEO
If you’ve read previous blog posts of mine, then you know how important I think having a clean and crawlable website structure is for SEO. When performing SEO audits, it’s usually not long before the important topic of canonicalization comes up. Canonicalization is the process of ensuring that you don’t provide the same content at more than more URL. It’s also one of the hardest words in SEO to pronounce. :) If you don’t address canonicalization, you can end up with identical content at multiple URL’s, which can present duplicate content issues. And you don’t want duplicate content. For example, you don’t want your site to resolve at both non-www and www, at both http and https, using mixed case, having folders resolve with and without trailing slashes, etc.In addition to handling canonicalization, you also want to have a system in place for handling 301 redirects. A 301 redirect is a permanent redirect and will safely pass PageRank from one URL to another. This comes in handy in several situations. For example, if you go through a website redesign and your URL’s change, if you remove campaign landing pages, if you remove old pieces of content, etc. If you don’t 301 redirect these pages, you could end up paying dearly in organic search. Imagine hundreds, thousands, or millions of URL’s changing without 301 redirects in place. The impact could be catastrophic from an SEO standpoint.
Enter ISAPI Rewrite, .htaccess for Windows Server
So I’m sure you are wondering, what’s the best way to handle canonicalization and redirects for SEO? If you conduct some searches in Google, you’ll find many references to .htacess and mod_rewrite. Using mod_rewrite is a great solution, but it’s only for Apache Server, which is mainly run on linux servers. What about windows hosting? Is there a solution for .net-driven websites?
The good news is that there is a solid solution and it’s called ISAPI Rewrite. ISAPI Rewrite is an IIS filter that enables you handle URL rewriting and redirects via regular expressions. It’s an outstanding tool to have in your SEO arsenal and I have used it now for years. There are two versions of ISAPI Rewrite (verseions 2 and 3) and both enable you to handle most of what .htaccess can do. Actually, I think so much of ISAPI Rewrite, that it’s the topic of my latest post on Search Engine Journal.
So, to learn more about ISAPI Rewrite, the two versions available, and how to use it (including examples), please hop over to Search Engine Journal to read my post.
ISAPI Rewrite: Addressing Canonicalization and Redirects on Windows Server
GG
Labels: code, domains, Google, how-to, seo, website-optimization, website-redesign
If you enjoyed this post and you need assistancewith your online marketing projects,
then contact Glenn Gabe today>


0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home