Solved

www.mysite.com vs mysite.com in SEO

Posted on 2014-12-16
10
126 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
 

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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Do you have a website or an online business? Are you on the top of Google Search and other search engines? Would you like to be? Well this article is going to teach you what the Search engine bots look for when ranking your web pages. Now what is a …
Your personal information, where you live, your wedding information, and anything else personal may be located online and in many cases the aggregators who pulled this stuff did so without your permission. Here are ways that you can get rid of unwan…
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 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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now