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
-
Hi! I first wrote an article on my medium blog but am now launching my site. a) how can I get a canonical tag on medium without importing and b) any issue with claiming blog is original when medium was posted first?
Hi! As above, I wrote this article on my medium blog but am now launching my site, UnderstandingJiuJitsu.com. I have the post saved as a draft because I don't want to get pinged by google. a) how can I get a canonical tag on medium without importing and b) any issue with claiming the UJJ.com post is original when medium was posted first? Thanks and health, Elliott
Technical SEO | | OpenMat0 -
Issues with Google Search Console and rekeyed SSL certificate
Hi, Another newbie question please. I've recently changed the name of my business so bought a new domain and rekeyed the SSL certificate to the new domain. Let's say the old domain was called https://123.com and the new one is https://abc.com. I've set up a 301 redirect on 123.com to forward to abc.com and I've added the new domain to Google Search Console and verified it, however can't seem to use the Change of Address tool to move from the old domain to the new domain. I think its because my preferred property (https://123.com) technically no longer exists since I rekeyed the SSL certificate from the old site to the new one so the old site no longer has an SSL certificate. When I go to the old https domain it doesn't load, nor does it seem to forward to the new site. It just times out. Am I correct in assuming that since I rekeyed the SSL certificate, that my original preferred property on Google (https://123.com) no longer exists? And if so, is there a way to use the Change of Address tool or do I simply need to remove the old site from Google and go through a period where my (new) site builds it's ranking from scratch? Thanks in advance folks!
Technical SEO | | Veevlimike0 -
Is Pagination & thin text issue affecting our traffic?
We at Pricebaba, have different price lists for different brands of phones for which we have done pagination. We are worried if we're suffering from the thin text issue. Could you help us check if it's done correctly? Pricelist page link: http://pricebaba.com/mobile/pricelist/samsung-price-list
Technical SEO | | RuchitaMahimkar0 -
All images are noindex will opening this at once be an issue?
Hi, All images are noindex will opening this at once be an issue? Not sure how a few months ago all my images were set as noindex which i realized last week. We have 20K images which were indexed fine but now when i check Site:sitename it shows 10 or 12 and the inspect element via Chrome i see the noindex is set for all images. We have been renaming the images and adding ALT tags for most of them and would it be an issue if we change the noindex in one shot or should we do them few at a time? Thanks
Technical SEO | | mtthompsons0 -
301 issue in IE9
My development team recently discovered an issue with 301 redirects caching in IE9. They did some research and found the situation was very complicated so their solution was to use 302s and no longer use 301s. As a temporary solution to a few URLs I was okay with this, but we have a site redesign launching in a few months and I am quite worried if we have to do all of our redirects as 302s. Has anyone else had this issue with IE9 and 301s. I could use any advice on how to overcome this issue. Thanks!
Technical SEO | | SEI0 -
Www & non-www URL Issue
Hi is there any tools out there which can enable me to find pages which both serve www and non-www versions of each URL
Technical SEO | | monster990 -
Any issues with lots of pages issuing 301 redirects?
Hi all, I'm working on a site redesign and it is possible the new site could issue a lot of 301 redirects as we may migrate from one forum solution to another. Is there any issue with crawlers getting a lot of 301 redirects from a site? Thanks Nick
Technical SEO | | nickswan0 -
Duplicate title issue
During the crwal SEO moz found duplicate title problems with quite a good number of pages. This was because my site has test questions like http://www.skill-guru.com/12/scjp-5-mock-test/questions and when user does next or previous, they can traverse to different pages but the title and descrition would remain same. How can this probkem be resolved ?
Technical SEO | | skill-guru2