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
-
Unsolved Why My site pages getting video index viewport issue?
Hello, I have been publishing a good number of blogs on my site Flooring Flow. Though, there's been an error of the video viewport on some of my articles. I have tried fixing it but the error is still showing in Google Search Console. Can anyone help me fix it out?
Technical SEO | | mitty270 -
Magento Category Suffix - redirect issue
Hi All, Just launched a new Magento store & set the category suffix to blank & not .html or / So the desired url is https://www.example.com/category-1 But I am seeing a 301 redirect being implemented: https://www.example.com/category-1/ redirect to: https://www.example.com/category-1 I cant see this is the list of 301 redirects within the redirect panel in Magento but Moz & another redirect checker is picking it up. I am missing a setting or something ? Many Thanks,
Technical SEO | | PaddyM556
Pat0 -
Does Squarespace still have issues with adding Schema through Tag Manager?
I see in a forum posting from 2016 that Squarespace had issues with adding custom code via body tags, and am trying to troubleshoot some schema I've added via GTM using JSON-LD and Yoast's converter tool to a Squarespace website. Is the general consensus to still add JSON-LD script directly into the head? And if so, where?
Technical SEO | | ogiovetti1 -
Submitted URL has crawl issue - Submitted URL seems to be a Soft 404 - but all looks fine
Google Search Console is showing some pages up as "Submitted URL has crawl issue" but they look fine to me. I have set them as fixed but after a month they were finally re-crawled and google states the issue persists. Examples are: https://www.rscpp.co.uk/counselling/175809/psychology-alcester-lanes-end.html
Technical SEO | | TommyNewmanCEO
https://www.rscpp.co.uk/browse/location-index/889/index-of-therapy-in-hanger-lane.html
https://www.rscpp.co.uk/counselling/274646/psychology-waltham-forest-sexual-problems.html There's also some "Submitted URL seems to be a Soft 404": https://www.rscpp.co.uk/counselling/112585/counselling-moseley-depression.html I also have more which are "pending", but again I couldn't see a problem with them in the first place. I'm at a bit of a loss as to what to do next. Any advice? Thanks in advance.0 -
RSS feed issue
My Wordpress blog RSS feed is not working correctly and I can't figure why. This is the error I am getting in my sidebar where the RSS feed used to work properly. My Blog is http://www.seadwellers.com/key-largo-diving-blog/ RSS Error: This XML document is invalid, likely due to invalid characters. XML error: not well-formed (invalid token) at line 274, column 32 Any insight would be appreciated greatly! Rob
Technical SEO | | sdwellers0 -
IP redirect possible SEO issues?
Hi I help manage a small eCommerce business that sells worldwide. We currently have 4 stores www.tidy-books.com (US site) www.tidy-books.co.uk (UK) www.tidy-books.eu (EU) www.tidy-bboks.com.au (AU) We have auto redirect based on the country of your IP. The .com is the route address though. Currently I have decided to focus all my energies with link building etc on .com as it seems to carry the most weight and being a very small team we don't have the resources for separate campaigns for all websites at the moment. Whilst I've done on site SEO with country in mind i.e for US kids instead of children. I'm just wondering if you can see any pitfalls in this approach, Ideally I would like to have a team focus on each store separately and have them as separate domains but with the IP redirect we at least rank well in Google for the .com and the customers gets sent to the relevant store. Any thoughts would be great
Technical SEO | | tidybooks0 -
Identified blog issues, anyone able to help?
hi everyone, I have been going through a site recently and i am noticing certain seo errors that are being caused by the blog. Nothing too harmful, but nonetheless i am hoping to correct them. 1 - The seomoz software have identified that i have duplicate title tags on the following http://www.altman.co.uk/blog http://www.altman.co.uk/blog?page=1 http://www.altman.co.uk/blog?page=2 ETC, ETC, ETC... Now am i right that i need to canonicalize those types of urls with the rel="next" and rel="previous"? <colgroup><col width="583"></colgroup>
Technical SEO | | AITLtd
| <colgroup><col width="583"></colgroup>
| <colgroup><col width="583"></colgroup>
| | | |0 -
Issue with .uk.com domain
hi i have rockshore.uk.com which is not indexing properly. the internal pages do not show up for the text they have on them, or the title tags. the site is on aekmps shops platform. I understand that a .uk.com is not a proper TLD but i think i have a subdomain of .uk.com Can anyone help? thanks
Technical SEO | | Turkey0