Forum Moderators: phranque
In everything that I've found so far tells me that I need to create another website through IIS and redirect it from there. The problem is, I don't have an IP address to spare at the moment, so this option doesn't work.
Are there any other options to setup a 301 redirect through IIS without creating another website?
Any suggestions or help would be greatly appreciated.
Thanks,
Conor
[edited by: Woz at 11:16 pm (utc) on Jan. 20, 2005]
[edit reason] examplified URLs [/edit]
It's as simple as dropping this code into the .ini file...
[ISAPI_Rewrite] RewriteCond Host: ^example\.com
RewriteRule (.*) http\://www\.example\.com$1 [I,RP]
We don't want to loose the PR we've gotten so far and also don't want to end up in the sandbox as this is a newer site.
Thanks for the suggestion though.
Conor
[edited by: Woz at 11:38 pm (utc) on Jan. 20, 2005]
[edit reason] examplified URLs [/edit]
I found that as well, but I'm trying to setup the 301 redirect for search engine optimization reasons. We have been indexed by our [example.com...] address and want to indexed as [example.com.<...]Be careful here. What percentage of inbound links are using the non www version of your domain? In some instances, you may want to do the opposite and redirect www to the non www.
Expect to see some downtime in the SERPs during the 301 period. You may also want to make it a point to track down all of those non www links and see if you can get them updated.
We will also be tracking those who are linking to the wrong site. Luckily, we aren't talking about a huge number of links here.
The fall-off is not a huge concern as the site is still new and not yet being promoted. We want to setup the 301 now so we don't lose any ground, then continue moving forward with the www. site.
The percentage of people going to the non www is fairly high at the moment, but it is very relative.
Any idea how that occurred? Just asking as it may help you find the source and correct it. Make sure there are no internal links pointing to the root domain (http://example.com/).
Just for reference, the [example.com...] is referred to as a sub-domain. The [example.com...] is referred to as the root domain.
Part of this link campaing is to educate them on the proper way to link and what address to use.
The people linking to us are select group of customers, so we have a very open communication line with them. We will have a fair amount of control when setting up all the links and can have them make changes quickly.