0

I've noticed recently that Google and a number of other SEO tools are a little confused about where my site is located. They seem to be unsure about whether it's www. or non www. SEO Moze's Site Explorer tool is unsure and so is Google's webmaster's tools.

An example of what SEO Moz Suggests. http://imgur.com/a/NNs58

I've tooled around quite a bit with my WordPress installation and my web.config file trying to find the perfect configuration. Though it seems as though I'm not quite there.

Any help and advice would be appreciated.

http://pastebin.com/NwTcW5cR

Zach Shallbetter
  • 172
  • 2
  • 11

1 Answers1

1

I would use this module in IIS. The tutorial here is very straight forward to follow.

Here's a sample rule that redirects traffic from sites/sitename/ to my new website. I would create a site that listens on say http://sitename.com and redirects it to your active site on http://www.sitename.com.

<rewrite>
<rules>
<rule name="Redirect to new site" stopProcessing="true">
<match url="sites/sitename/" />
<action type="Redirect" url="http://www.newsite/sites/sitename/default.aspx" />
</rule>
</rules>
</rewrite>
dkwiebe
  • 641
  • 3
  • 6
  • I posted a copy of my web.config file and had been using URL rewrite when I wrote this post. It seems as though I'm pretty close. What do you think? – Zach Shallbetter Jul 28 '11 at 17:25
  • I'm not sure which site your trying to redirect. I've added the rule I use to the answer. – dkwiebe Aug 05 '11 at 00:17