• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 140
  • Last Modified:

www.mysite.com vs mysite.com in SEO

How do I prevent SEO from seeing www.mysite.com and mysite.com as two competing sites and, hence, reducing page rank and listing duplicate content?
0
Bob Schneider
Asked:
Bob Schneider
  • 3
  • 2
  • 2
  • +2
2 Solutions
 
RafaelCommented:
update your DNS "A: record and C Name
0
 
Bob SchneiderCo-OwnerAuthor Commented:
Update it how?
0
 
RafaelCommented:
you have to go to whomever is controlling your DNS. You're service provider like Go-Daddy etc.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Bob SchneiderCo-OwnerAuthor Commented:
Ok and have them make what change?   I am using GoDaddy so I can make the change, but what change to I make there?
0
 
GaryCommented:
Add to your web.config (using your real site name)

<configuration>
  <system.webServer>
    <rewrite>
      <rules>
        <rule name="Redirect to www" stopProcessing="true">
          <match url=".*" />
          <conditions>
            <add input="{HTTP_HOST}" pattern="^mysite.com$" />
          </conditions>
          <action type="Redirect" url="http://www.mysite.com/{R:0}" redirectType="Permanent" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer> 
</configuration>

Open in new window

0
 
COBOLdinosaurCommented:
Godaddy does not give access to the name servers? .... wow that is lame; really lame.

Cd&
0
 
GaryCommented:
Godaddy does not give access to the name servers
Says who?
0
 
COBOLdinosaurCommented:
That was the questin I was asking.  Why would he need go daddy to do the change its like a 10 second thing.

Cd&
0
 
GaryCommented:
Gotcha!
0
 
Ashish JainCommented:
Hello,
Your site has canonical issues and you can solve it with htaccess or by 301 permanent redirect to either www.example.com or example.com from which you want to get it crawled. It will solve your problem and also you will get good results regarding to Google keyword ranking.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now