Customer Support Portal Language
 
Home Knowledge Base Website Features 301 and 302 Redirects (e.g. SEO Optimization)
Information
Article ID16
Created On5/2/2008
Modified5/2/2008
301 and 302 Redirects (e.g. SEO Optimization)
A.K.A HTTP Rewrite or URL Rewrite

Here are the steps for making a 301 or 302 redirect for search engine optimization reasons. If you prefer, we can implement your redirects for you based on our normally hourly rate for development.

We are running Windows Servers with IIS 6 and have installed a special tool to handle these redirects called ISAPI_Rewrite. It acts mostly like Apache's mod_Rewrite, but is designed specifically for Microsoft's Internet Information Server (IIS). ISAPI_Rewrite is an ISAPI filter written in pure C/C++ so it is extremely fast. ISAPI_Rewrite gives you the freedom to go beyond the standard URL schemes and develop your own scheme.

WARNING: This tool is offered without support or warranty. It's a powerful tool so use it with caution and under advisement from a professional. It is COMPLETELY possible to accidentally block all visitors to your website or get banned from a search engine. Again, we do not suggest using this tag without professional advice and having conducted ample research into it's use and effects. If you are unable to follow the directions below, it is likely you do not have the expertise to implement this tag. We can implement your redirects for you based on our normally hourly rate for development.

Here are the steps:

1) Create a text file called ".htaccess" and upload it into your website's root directory. e.g. wwwroot
2) Follow the directions at the URL below to write a rule to make your redirect.

http://www.isapirewrite.com/docs/#conffile
(YOU DO NOT NEED TO FOLLOW THE INSTRUCTIONS REGARDING INSTALLATION OF THE PROGRAM - ONLY THE INSTRUCTIONS REGARDING THE CONFIGURATION OF THE ACTUAL HTTPD.INI FILE!)

Here are samples of the two most likely rules you will need:

1) The first redirects visitors who do not type in WWW when requesting your domain name e.g. http://oochie.com to the same domain but WITH the WWW in front. e.g. http://www.oochie.com.

2) The second redirects visitors looking for a specific web page to another web page. e.g. http://www.oochie.com/web-hosting-plan5.html to http://www.oochie.com/web-hosting.html

[ISAPI_Rewrite]
RewriteCond Host: oochie\.com

RewriteRule (.*) http\://www.oochie.com$1 [I,RP]

RewriteRule /web-hosting-plan5.html /web-hosting.html [I,RP]


Best of luck with your SEO endeavors.