Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

www.mysite.com vs mysite.com in SEO

Posted on 2014-12-16
10
129 Views
Last Modified: 2015-02-12
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
Comment
Question by:Bob Schneider
  • 3
  • 2
  • 2
  • +2
10 Comments
 
LVL 10

Expert Comment

by:Rafael
ID: 40503732
update your DNS "A: record and C Name
0
 

Author Comment

by:Bob Schneider
ID: 40503740
Update it how?
0
 
LVL 10

Assisted Solution

by:Rafael
Rafael earned 50 total points
ID: 40503748
you have to go to whomever is controlling your DNS. You're service provider like Go-Daddy etc.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:Bob Schneider
ID: 40503749
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
 
LVL 58

Accepted Solution

by:
Gary earned 450 total points
ID: 40503826
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
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 40505899
Godaddy does not give access to the name servers? .... wow that is lame; really lame.

Cd&
0
 
LVL 58

Expert Comment

by:Gary
ID: 40505912
Godaddy does not give access to the name servers
Says who?
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 40507928
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
 
LVL 58

Expert Comment

by:Gary
ID: 40507930
Gotcha!
0
 

Expert Comment

by:Ashish Jain
ID: 40605275
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

[Part 4 of a 6 part series called SEO Basics: 5 SEO Secrets for Creating Content that Drives Traffic (http://www.experts-exchange.com/Web_Development/Internet_Marketing/Search_Engine_Optimization_SEO/A_8369-SEO-Basics-5-SEO-Secrets-for-Creating-Cont…
Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question