On-Page Report Card, rel canonical
-
My site has the rel canonical tags set up for it. The developers say that it is set up correctly. Looking at the source code myself, it looks (to my untutored eyes) to be set up correctly. However, on the On Page Report Card for every page I have checked, it says that it doesn't point to the right page. I'd really like to change all my 'B's to 'A's, but I simply can't see what the issue is.
-
Thanks Ryan. So apparently it is OK to have relative links, as long as they are done correctly. My developers insist that they HAVE done them correctly, but SEOmoz flags it anyway because for all it knows, the base link may not have been set to the right location. I'm going to see if I can get the URLs changed to absolute.
-
It's in the code so your developer would have to do it, from Google's Guide:
Can the link be relative or absolute?
The rel="canonical" attribute can be used with relative or absolute links, but we recommend using absolute links to minimize potential confusion or difficulties. If your document specifies a base link, any relative links will be relative to that base link.
http://www.google.com/support/webmasters/bin/answer.py?answer=139394
-
Hey James,
Not sure exactly how your site is organized but it seems like you should be able to resolve the issue using 301 direction instead of rel canonicals.
Sameer
-
1. I'm not sure how I would do that, so I would have to get the developers to do it.
2. I'm not sure if that would fix the issue
3. While it would be nice to have 'A's showing for the report cards, it isn't really essential if there isn't really a problem - and if this IS what is causing us to get dinged I'm not sure that it is truly a problem on my site, or just a limitation in the 'report card'.
-
Trying making the absolute URL, i.e. "http://www.mysite.com/category/9-Irons" as your href instead of "/category/9-Irons" in the rel="canonical" link tag.
-
Let's say that I sell golfing supplies and have the category "9-Irons". On that category page, the source code would say:
<link rel="canonical" href="[/category/9-Irons](view-source:http://www.breakoutbras.com/category/Nursing-Bras)" /> If I enter the keyword "9 Irons" into SEOmoz, and put the URL as: http://www.mysite.com/category/9-Irons I get dinged for having the wrong canonical reference.
-
Hi James. Lets say you have 15 pages that are the canonical pages and the 35 pages that are variations (alphabetically sorted, price sorted, whatnot). If those non-canonical 35 pages are being graded they're not going to have a rel=canonical that lines up because they're not the canonical page. The on page report card is only looking to match the URL you entered into the SEOmoz system and the tag that you have on your page. Is that what's happening in your situation?
I doubt it, but just in case you missed it, the explanation from On Page Report Card: If the canonical tag is pointing to a different URL, engines will not count this page as the reference resource and thus, it won't have an opportunity to rank. Make sure you're targeting the right page (if this isn't it, you can reset the target above) and then change the canonical tag to reference that URL.
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
-
Why does Google's search results display my home page instead of my target page?
Why does Google's search results display my home page instead of my target page?
Technical SEO | | h.hedayati6712365410 -
Beginner - needs to better understand rel=canonical. What is the best resource?
I'm pretty sure I have pages/posts that are competing on the same keyword and would like to fix it. What is the best beginners guide to understanding rel=canonical and how to use it to improve our SEO?
Technical SEO | | JonnyBird10 -
Duplicate Page Content / Rel Canonical
Hi, The diagnostics shows me that I have 590 Duplicate Page Content , but when it shows the Rel Canonical I have over 1000, so dose that mean I have no Duplicate Page Content problem? Please help.
Technical SEO | | Joseph-Green-SEO0 -
Duplicates on the page
Hello SEOMOZ, I've one big question about one project. We have a page http://eb5info.com/eb5-attorneys and a lot of other similar pages. And we got a big list of errors, warnings saying that we have duplicate pages. But in real not all of them are same, they have small differences. For example - you select "State" in the left sidebar and you see a list on the right. List on the right panel is changing depending on the what you selecting on the left. But on report pages marked as duplicates. Maybe you can give some advices how to improve quality of the pages and make SEO better? Thanks Igor
Technical SEO | | usadvisors0 -
Is it bad to have your pages as .php pages?
Hello everyone, Is it bad to have your website pages indexed as .php? For example, the contact page is site.com/contact.php and not /contact. Does this affect your SEO rankings in any way? Is it better to have your pages without the extension? Also, if I'm working with a news site and the urls are dynamic for every article (ie site.com/articleid=2323.) Should I change all of those dynamic urls to static? Thank You.
Technical SEO | | BruLee0 -
Home page canonical issues
I think I’ve got a canonical issue with a client’s site that I’m having problems with I’ve noticed in their analytics that they receive traffic from themselves. I’ve used ‘ rel canonical’ throughout the site to avoid any dup issues and I have 301’ed every other variation of the home page I can think of. I don’t have full access to the back end of the host to control any of the iis as it’s an asp site. They seem to be getting traffic from their site under the URL of, example.com I’ve 301 redirected www.example.com/home.asp www.example.com/default.asp www.example.com/index.asp to www.example.com And 'rel canonical' the home page to www.example.com but still seem to be having the same problem any ideas? Thanks
Technical SEO | | FarkyRafiq0 -
Secondary Pages Indexed over Primary Page
I have 4 pages for a single product Each of the pages link to the Main page for that product Google is indexing the secondary pages above my preferred landing page How do I fix this?
Technical SEO | | Bucky0 -
Should there be a canonical tag on my 404 error page?
In my crawl diagnostics, I notice some 4xx client errors. They are appearing for pages that no longer exist, so I'm not sure what the problem is. Shouldn't they just be dealt as 404's? Anyway, on closer inspection I noticed that my 404 error page contains a canonical tag which points to the missing page. Could this be the issue? Is it a good idea to remove the canonical tag from this error page? Thanks.
Technical SEO | | Leighm0