Caninical issue
-
Hello all,
I have a problem related to "canonical issues" that I would like to get your view on:
The issue:
Our site: http://www.texaspoker.dk/ has a "canonical issue" with the home page.
We added a redirect to www.texaspoker.dk, but this hasn't solved our problem.
In the latest "too many on page links" analysis made with SEOmoz' exelent SEO tool, we get the following error:
http://www.texaspoker.dk(101 on page links)
http://www.texaspoker.dk/?page=2 (on page links)
So, made simple, the analysis tells us that both http://www.texaspoker.dk and http://www.texaspoker.dk/?page=2 has too many on page links. How do I eliminate / remove the unwanted http://www.texaspoker.dk/?page=2 and how did it, in the first place, get there?
Thanks a lot!
-
Hi again,
I managed to fix it for the frontpage using the folowing PHP code:
if(isset($_SERVER['REQUEST_URI'])){
$get_uri = $_SERVER['REQUEST_URI'];
if($get_uri!="/"){ $url = "/"; header('Location: ' . $url, true, 301);
}
}
?>
-
Hi @SEOConsult,
Will the .htaccess fix you mentioned affect other paginated pages on our site?
-
Hi again,
Thanks a lot for your answer and the solution to fix the problem on the front page.
We use Nginx as web server software but we can setup the .htaccess stuff in the .conf file. However we have other paginated pages on our site. Will the above mentioned solution affect all paginated pages on our site?
-
No problem Do you have a .htaccess file within the root directory? If not, create a new .htaccess file and add this rule:
RewriteRule ^page?=(.*)$ / [L,R=301]
I'd suggest that you add a canonical tag to all pages too.
-
Hi again,
Thanks for your advice - the thing is that this is what I have already tried. The problem here is that the site apparently allows one to write: http://www.texaspoker.dk/?page=3
http://www.texaspoker.dk/?page=4
etc.Do you - or anybody else - have an idea how I can stop this?
Thanks a lot, your advice is very much appreciated.
-
You're correct, that is a canonical issue. I'd suggest that you 301 redirect ?page=2 back to the root.
Good luck!
-
Hi SEOConsult,
Thanks a lot for the answer. I will try to get some of the links removed, as they are not all "necessary."
This being said, I still believe that it's a problem for my site that there are access to two different homepages (?):
and:
http://www.texaspoker.dk/?page=2
Thanks a lot, all suggestions are very much appreciated.
-
Hi there,
Firstly, I think it's important to note that the tool isn't telling you that the site has canonical issues. Canonical issues are basically when you can view the same page from more than one version of the URL.
The "too many links" issue is, as it suggests, the page has too many links.
At the moment the homepage (http://www.texaspoker.dk/) has 102 links, which is acceptable however you should look at removing any unnecassary links on-page. Generally, you should look at having few than 100 links on a page. Having 102 is fine but obviously if you can remove unnecessary links, do it.
The fewer links on the page the better
Hope that helps/clears things up!
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
-
Redirect Chain Issue
I just found I'm having a redirect chain issue for http://ifixappliancesla.com (301 Moved Permanently). According to Moz, "Your page is redirecting to a page that is redirecting to a page that is redirecting to a page... and so on" These are the pages involved: 301 Moved Permanently
Technical SEO | | VELV
http://ifixappliancesla.com
https://ifixappliancesla.com https://www.ifixappliancesla.com/ This is what Yoast support told me: "The redirect adds the https and then the www, ending at: https://www.ifixappliancesla.com/. You want all variants of your site's domain to end up at: https://www.ifixappliancesla.com/ " - which is totally true. But I would also like not to have the redirect chain issue! Could you please give me an advise on how to properly redirect my pages so I don't have that issue anymore?0 -
URL ASCII Characters Issue
Hi guys; Is there any different between URL whit capital ASCII code and URL with small ASCII Code? For example I have 2 URLS for one page like this: 1- 332-%D8%AA%D8%AD%D8%B5%DB%8C%D9%84-%D8%AF%D8%B1-%DA%A9%D8%A7%D9%86%D8%A7%D8%AF%D8%A7.html 2- 332-%d8%aa%d8%ad%d8%b5%db%8c%d9%84-%d8%af%d8%b1-%da%a9%d8%a7%d9%86%d8%a7%d8%af%d8%a7.html both of them point to same page but no 1 is non SSL and no 2 is ssl version! and whole pges of site forces to https
Technical SEO | | seoiransite0 -
How much of an issue is JS?
Hey folks, So, I got two pages. Page A has a lot more content but in a tabular format which uses javascript and a Title Tag which is a synonym for our keyword, but not the actual keyword. Page B has less content, and the title tag is the exact keyword phrase we want to rank for. Page A has a bigger backlink profile (though not enormous by any extent). Page A ranks in 30th. Page B ranks in 7th. Importance of Title tag? Importance of JS? Both? Discuss! Cheers, Rhys
Technical SEO | | SwanseaMedicine0 -
Crawl issue
Hi I have a problem with crawl stats. Crawls Only return 3k pages while my site have 27k pages indexed(mostly duplicated content pages), why such a low number of pages crawled any help more than welcomed Dario PS: i have more campaign in place, might that be the reason?
Technical SEO | | Mrlocicero0 -
What's the issue?
Hi, We have a client who dropped in the rankings (initially from bottom of the first page to page to page 3, and now page 5) for a single keyword (their most important one - targeted on their homepage) back in the middle of March. So far, we've found that the issue isn't the following: Keyword stuffing on the page External anchor text pointing to the page Internal anchor text pointing to the page In addition to the above, the drop didn't coincide with panda or penguin. Any other ideas as to what could cause such a drop for a single keyword (other related rankings haven't moved). We're starting to think that this may just have been another small change in the algorithm but it seems like too big of a drop in a short space of time for that to be the case. Any thoughts would be much appreciated! Thanks.
Technical SEO | | jasarrow0 -
Duplicate content issue. Delete index.html and replace with www.?
I have a duplicate content issue. On my site the home button goes to the index.html and not the www. If I change it to the www will it impact my SERPS? I don't think anyone links to the index.html.
Technical SEO | | bronxpad1 -
Duplicate Content Issues - Should I build a new site?
I'm currently working on a site which is built using Zen Cart. The client also has another version which has the same products on it. The product descriptions and the vast majority of the text has been re-written. I've used the duplicate content tool and these are the results: HTML fingerprint: 0000a7ee1f07a131 0000a7ec1f07a931 92.31% Total HTML similarity: 76.33% Standard text similarity: 66.72% Smart text similarity: 45.81% Total text similarity 56.27% I considered using a different eCommerce system like Magento or Volusion. So I had a look at a few templates, chose one and then used the tool again and got the following: HTML fingerprint: 0000a7e41b012111 0000a7ec1f07a931 72.00% Total HTML similarity: 64.65% Standard text similarity: 11.69% Smart text similarity: 17.90% Total text similarity 14.80% Do you think its worth doing this? thanks Dan
Technical SEO | | TheYeti0 -
How much of an issue is it if a site is somehow connected to a site that was penalized by Google?
I am working with someone that is about to launch a new site, and one of the sites was affected by the Panda update. Does it matter if the two sites are connected? Share the same hosting provider and same Google Webmaster's account?
Technical SEO | | nicole.healthline0