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
-
Homepage Ranking Issue
Hi Folks, My site https://homeontheswan.com/ has been live for a few months now. Certain pages are ranking, even some number 1 postions for prodcuct pages with certain search terms. But our homepage doesn't seem to rank in Google when searching by brand name "Home on the Swan". The page is well optimized according to Moz. Any tips / insight into why this is happening would be much appreciated. Jamie
Technical SEO | | homeontheswan10 -
Google Appending Blog URL inbetween my homepage and product page is it issue with base url?
Hi All, Google Appending Blog URL inbetween my homepage and product page. Is it issue or base url or relative url? Can you pls guide me? Looking to both tiny url you will get my point what i am saying. Please help Thanks!
Technical SEO | | amu1230 -
What server issues might cause temporary and repeated Soft 404/500 Errors that appear to be functioning correctly when checked later from Google Webmaster Tools?
We are experiencing unknown server issues (we think) which are causing Soft 404/500 errors at unpredictable times on 2 websites. When we check on the pages, they’re fine but still show errors in Moz/Search Console. What are some measures we can take to protect from this or figure out what is causing this? Example URL for Soft 404 Error: https://www.advancedtraveltherapy.com/jobs/any/occupational-therapist/any/ Example URL for 500 Error: https://www.advancedtraveltherapy.com/job-detail/ms/physical-therapist/87529740/ Example URL for Soft 404 Error: https://www.advancedtravelnursing.com/search/searchresults.php?jobState=CA&tempType=g&specialties= Example URL for 500 Error: https://www.advancedtravelnursing.com/job/ma/registered-nurse/emergency-room/87108662/
Technical SEO | | StaffingRobot0 -
Impact issues when switching from .com to uk
Buon Giorno from wetherby UK 5 degrees C and rivers bursting their banks everywhere 😞 This site http://www.sandtoft.com/ has requested a switch in url forwardfing in that they want the following to happen: When u enter the .com url it forwards to the .co.uk domain (the opposite from what it is today ie when you eneter .co.uk it switches to the .com url) So my question is please... "Will changing the .com url to .co.uk via forwarding affect SERPS in any significant manner" My view is the impact will be a minor dip in the serps followed by a recovery. Any insights welcome 🙂
Technical SEO | | Nightwing0 -
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 -
Cross-domain duplicate content issue
Hey all, Just double-checking something. Here's the issue, briefly. One of my clients is a large law firm. The firm has a main site, and an additional site for an office in Atlanta. On the main site, there is a list of all attorneys and links to their profiles (that they wrote themselves). The Atlanta site has this as well, but lists only the attorneys located in that office. I would like to have the profiles for the Atlanta lawyers on both sites. Would rel=canonical work to avoid a dupe-content smackdown? The profiles should rank for Atlanta over the main site. This just means that G will drop the main site's profiles (for those attorneys) from their index, correct? No other weird side effects? I hope I worded all that clearly!
Technical SEO | | LCNetwork0 -
Rel = author display issue
I want to enter some products as blog posts. I don't want users to see the post info, but do want SE's to see rel="author". I can do this by setting display to "none" in a CSS style. The post info does not appear in the browser but is still in the page source. Will search engines be able to see the post info?
Technical SEO | | waynekolenchuk0 -
Duplicate Content Issue
Hi Everyone, I ran into a problem I didn't know I had (Thanks to the seomoz tool) regarding duplicate content. my site is oxford ms homes.net and when I built the site, the web developer used php to build it. After he was done I saw that the URL's looking like this "/blake_listings.php?page=0" and I wanted them like this "/blakes-listings" He changed them with no problem and he did the same with all 300 pages or so that I have on the site. I just found using the crawl diagnostics tool that I have like 3,000 duplicate content issues. Is there an easy fix to this at all or does he have to go in and 301 Redirect EVERY SINGLE URL? Thanks for any help you can give.
Technical SEO | | blake-766240