Solved

www.mysite.com vs mysite.com in SEO

Posted on 2014-12-16
10
131 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
[X]
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
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
301 redirect doesn't work 1 64
Emails asking for links 3 77
client's website results vary by search engine 8 59
301 redirect 6 75
A step by step SEO guide to creating content that drives traffic and maximizes page views by using the right tricks, tools and keyword analysis. You are the subject matter expert.   You have forgotten more about your area of expertise than most …
[Part 3 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…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
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.

738 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