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. https://i.stack.imgur.com/zAkOu.jpg

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

1 Answer 1

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>
2
  • 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? Jul 28, 2011 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 5, 2011 at 0:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .