Why is there duplicates of my domain
-
When viewing crawl diagnostics in SEOmoz I can see both "www.website.com" and a truncated version "website.com" is this normal and why is it showing (I do not have duplicates of my site on the server)?
E.g.:
-
Hi All,
I have just altered my Google Webmaster tools in the Config (as per Geoff's advice above) and that appears to be fine for now. However, I have also updated my ".htaccess" file dong a 301 redirect, details below:
Options +FollowSymLinks
RewriteEngine onRewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]I also have recently changed my pages from .html to .php do I redirect by using this code as I want all old links to now refer to the .php file:
RewriteRule (.*).html$ /$1.php [R=301,L]
Lastly, Thomas on the canonical side of things, is it necessary for me to implement this in the Head?
How can I see if the work completed is correct or check that it works?
Paul.
-
Ok, I have implemented the Google Webmaster redirect. and now I have tried the edit to the .htaccess file trying both options below with no success.
Option 1:
AddHandler php-stable .php
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]Option 2:
AddHandler php-stable .php
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.klinehimalaya.com/$1 [R=301,L]Neither seem to be working when viewed here:
http://anythinghere.klinehimalaya.com/Please help.
Thanks
-
Hey Mat,
Another question. If I have changed a page address from:
http://www.klinehimalaya.com/packages.html to
http://www.klinehimalaya.com/packages.phpwill I also need to redirect the pages I have changed from .html to .php or is this not needed because I have not changed the file name prior to the prefix?
Thanks.
Paul.
-
You can set the preferred domain just like Geoff mentioned. But basically since you have a www version and a non www version it can be seen as duplicate content. Although the site is only one website and changes will appear on each the URL structure changes for depending on if you use the www or non www and therefore it looks like duplicate content.
-
I have checked out your website we you may not have implemented the 301 redirect correctly. In addition you should use Google Webmaster tools along with
rel="canonical"
http://www.seomoz.org/blog/how-to-advanced-relcanonical-http-headers
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394
Add a
rel="canonical"
link to the section of the non-canonical version of each HTML page.To specify a canonical link to the page http://www.example.com/product.php?item=swedish-fish, create a element as follows:
Copy this link into the section of all non-canonical versions of the page, such as http://www.example.com/product.php?item=swedish-fish&sort=price.
If you publish content on both http://www.example.com/product.php?item=swedish-fish and https://www.example.com/product.php?item=swedish-fish, you can specify the canonical version of the page. Create the element:
Add this link to the section of https://www.example.com/product.php?item=swedish-fish.
-
Hi,
If I was you I would go into Google Webmaster tools and verify both versions of the site, then go to Configuration >> Setting >> Preferred domain and tell Google your preference.
You will need to do this with both verified versions of the domain. You can then delete the listing for the one you do not want
You will only need one Google Verification code.
That will sort the issue with Google
Geoff
-
You have fixed the redirect loop, but the initial problem still exists. With the urgent issue now fixed (I can see the site now!) let's look at the problem:
You don't actually have a live problem at the moment, so any fix here will not improve your results. However you have a potential problem - one that could occur and cause you problems later. It's not hard to fix, so it is good to get it done.
Your server (like many) is set up to serve the same files to both klinehimalaya.com and www.klinehimalaya.com, which are technically different addresses. If google followed a link to klinehimalaya.com and a link to www.klinehimalaya.com if would find the content at two seperate places and could index both and consider them to be duplicate. Yes... all those PHDs and Google is still that stupid.
What you need to do (and I think you were trying to do this) is to pick one version of that address as the one that you are going to use. You can then redirect traffic from the other version to the chosen version.
In fact anythinghere.klinehimalaya.com is also serving up the same site, so you should fix the lot in one go.
If you are running apache (most sites are) then you can do this with an .htaccess redirect . There is a good example of how to do this at the top of this page: http://dense13.com/blog/2008/02/27/redirecting-non-www-to-www-with-htaccess/
In short it checks to see whether the address being loaded starts with www. . If it doesn't then it loads that version via a 301 redirect.
The issue Ross has pointed out is separate and not fixed by this. You should do both.
I hope that helps.
-
You are linking to your home page via your logo in the header.
However you are linking to this address http://www.klinehimalaya.com/index.php try linking to this address http://www.klinehimalaya.com/
This will remove your duplicate content issue.
-
Think I just fixed the redirect, but I still have an issue in SEOmoz where it is still pulling up both references to:
http://www.klinehimalaya.com/index.php
klinehimalaya.com/index.phpApparently this will effect my SEO efforts, hot to fix!!!
Thanks all!
-
I tried to look at this for you, but you have some issues on your site that are stopping me viewing it completely.
Both klinehimalaya.com and www.klinehimalaya.com create an infinite loop that prevents the page loading. klinehimalaya.com is correctly 301ing to www.klinehimalaya.com
However www.klinehimalaya.com is redirecting to itself.
You need to fix that URGENTLY. Start by looking at your htaccess file.
-
You need to do a 301 redirect
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Duplicate content issue
Hi, A client of ours has one URL for the moment (https://aalst.mobilepoint.be/) and wants to create a second one with exactly the same content (https://deinze.mobilepoint.be/). Will that mean Google punishes the second one because of duplicate content? What are the recommendations?
Technical SEO | | conversal0 -
Mutiple domains with similar SEO
ok we have one main domain about our company which is about renting luxury and exotic cars. (PrestigeLuxuryRentals.com). We own other domains with similar keywords,meta,etc on the URL and SEO For example, we own domains like exoticcarrentalorlando/exoticcarrentaltampa, with same background and design as main site but, we have different content than main site to avoid duplicate. Keep in mind, all the other domain we own, all have same template with our companies name on it but, it doesnt have any content or link that pertains to main site. is this a problem?
Technical SEO | | prestigeluxuryrentals.com0 -
SEO for sub domains
I've recently started to work on a website that has been previously targeting sub domain pages on its site for its SEO and has some ok rankings. To better explain, let me give an example...A site is called domainname.com. And has subdomains that they are targeted for seo (i.e. pageone.domainname.com, pagetwo.domainname.com, pagethree.domianname.com). The site is going through a site re-development and can reorganise its pages to another URL. What would be best way to approach this situation for SEO? Ideally, I'm tempted to recommend that new targeted pages be created - domainname.com/pageone, domainname.com/pagetwo, domainname.com/pagethree, etc - and to perform a 301 redirect from the old pages. Does a subdomain page structure (e.g. pageone.domainname.com) have any negative effects on SEO? Also, is there a good way to track rankings? I find that a lot of rank checkers don't pick up subdomains. Any tips on the best approach to take here would be appreciated. Hope I've made sense!
Technical SEO | | Gavo0 -
Domains and Hosting Question
I bought hosting for unlimited domains on Godaddy. It's not a dedicated server. It was just $85 a year. I have unlimited latency but a limited amount of "space." I don't know a lot about hosting servers etc... My question is relatively simple. When I go in GoDaddy to my hosting. There is a site that shows up as hosted, and all of the other sites show up under that site in it's directory. If you type the name of the site I bought the hosted package on, then type a forward slash and the name of one of the other sites on the hosting package, you will actually go to the other website. What is this relationship? Is it normal? Does that make all of my websites subdomains of the main site (that I bought the hosting package on)? I don't fully comprehend how this effects everything...
Technical SEO | | JML11790 -
Questions about root domain setup
Hi There, I'm a recent addition to SEOmoz and over the past few weeks I've been trying to figure things out. This whole SEO process has been a bit of a brain burner but its slowly becoming a little more clearer. For awhile I noticed that I was unable to get Open Site Explorer to display information about my site. It mentioned that that there was not enough data for the URL. Too recent of a site, no links, etc. Eventually I changed the the URL to include "www." and it pulled up results. I also noticed that a few of my page warnings are because of duplicate page content. One page will be listed as http://enbphotos.com. The other will be listed as http://www.enbphotos.com. I guess I'm not sure what this all means and how to change it. I'm also not really sure what the terminology even is and something regarding root domain seemed appropriate but I'm not sure if it is accurate. Any help/suggestions/links would be appreciated! Thanks, Chris
Technical SEO | | enbphotos0 -
.ca and. com domains
Hello, currently the main site im working on is a .com, but have the .ca version purchased from register.com. should i have this setup to redirect to the .com site. will google see these as dup content. We have the .ca for our canadian customers but both sites are identical. Thank you
Technical SEO | | TP_Marketing0 -
Grabbing Expired Domains
How hard is it to grab expired domains? I have my eye on a domain that is expiring in 3 days, but I don't think it's quite that simple. Doesn't it go through months of waiting to become available? Is there an easy way to grab domains that are set to expire? Are the services that offer this type of service good? And who do you guys recommend?
Technical SEO | | applesofgold0 -
Question about domain redirects
One of my clients has an odd domain redirect situation. See if you can get your head round this: Domain A is set-up as a domain alias of Domain B Entering domain A or domain B takes you to default.asp on domain B. The default.asp includes VB script to check the HTTP_HOST variable. It checks whether the main doman name for domain A is present in the HTTP_HOST and if so redirects it to domain A/sub-folder/index.htm. If not present it redirects to domain B/index.htm. In both cases the redirect uses a response.Redirect clause. I think what is trying to be achieved is to redirect requests to Domain A to a sub-folder of Domain B. It works but seems extremely convoluted. Can anyone see problems with this set-up? Will link juice be lost along the redirect paths?
Technical SEO | | bjalc20110