Canonical tags and relative paths
-
Hi,
I'm seeing a problem with Roger Bot crawling a clients site. In a campaign I am seeing you say that the canonical tag is pointing to a different URL.
The tag is as follows:-
/~/Standards-and....etc
Google say:- relative paths are recognized as expected with the tag. Also, if you include a <base> link in your document, relative paths will resolve according to the base URL
Is the issue with this, that there is a /~/, that there is no <base> link or just an issue with Roger?
Best regards,
Peter
-
Sorry it was a bit late to help.
-
Hi Tompt
Yes that's what I had eventually concluded. The developer says this was caused by an upgrade to the cms.
The choice of url relates to the structure of the site the client seems to want, at this stage, anyway.
Thank you for your time and trouble, most appreciated.
-
I think the problem is that if you include the /~/ as part of the URL, no page resolves, it just forwards automatically to http://www.lantra.co.uk/. The relative url should be just "/standards-and-qualifications.aspx".
Is there a particular reason you're using relative urls instead of absolute? They seem an odd choice for canonical.
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
-
I have a Category and Tag In My Blogs
I have use category and Tags in my blogs. Now i have an problem with blog URL and Tags URL. My blog URLs is also show in Tags page and both the content is same. For Example: My Blog URL is: https://www.example.com/advice-how-to-do-batting And Tag Page URL is : https://www.example.com/advice-batting in that - https://www.example.com/advice-how-to-do-batting The URLs contain same content. No should i write two different meta title and description for above two URLs pages. As there might more blog added under Tags pages with different topics and title. Request on Thought Please.
Technical SEO | | ProcessSEO0 -
Rel Canonical for Exact Same Copy?
I've read about using rel canonical tags for product pages like "blue shorts" vs "red shorts" but if I have two pages with the exact same copy - different URL's - but same copy, can I use a rel canonical tag and be okay for duplicate content purposes? (There is is reason the page is exactly the same, at least for the time being, so I'm just focusing on how not to be get penalized as opposed to rewriting it at the moment). Thanks, Ruben
Technical SEO | | KempRugeLawGroup0 -
Canonical: Is this a problem?
Hi!!
Technical SEO | | petrospan
I am running a small wordpress website and i have a question because i am a litle confusic about Rel Canonical notices in the crawl diagnostics! I have the seo by yoast and i have fix all the canonical url for my page, but i take notices. I must worried about it or is something that inform me that everyting is ok? rel.jpg rel.jpg0 -
Duplicate title tag error
Hi all, I am new to SEO, and we have just launched a new version of our site (kept the domain name the same though). I keep getting errors for duplicate title tags - e.g. www.sandafayre.com/default.aspx and www.sandafayre.com/Default.aspx, www.sandafayre.com/StampAuctions.aspx and www.sandafayre.com/stampauctions.aspx (plus loads others :o). The only difference each time seems to be the capitalisation of the first character - but I though URLs were not case sensitive? I've been advised to add the rel canonical tag to one of the pages, but the problem is I really only have 1 version of each page! Can anybody help please? Many thanks in advance! Nikki
Technical SEO | | Stampy780 -
Title tag keyword prioritizing
It's widely accepted that in title tags, the first word ranks the highest, and each word after that contributes less than the one before. So a page with the title "Philadelphia Parks" will rank higher than "Parks in Philadelphia" for Philadelphia, but the second page will rank higher for Parks. With this in mind, which keywords should I put first in the title tags of my product pages? Brand name? Product SKU? Is it better to prioritze general words with higher search volume (more impressions) or more specific terms with lower search volume (stronger long tail)? Any guidance would be appreciated. Thanks
Technical SEO | | AmericanOutlets0 -
How many strong tags is too many
Hi everyone, just a quick question, what are your views on the use of strong tags in content? how many is too many? What is you have strong tags around every keywords for a sentance etc?
Technical SEO | | pauledwards1 -
Yoast canonical SEO question
Hi I've installed Yoasts SEO plugin. I've just set it up as a campaign in SEOMOZ pro and i now see 14 notices about rel=canonical. I haven't added the rel=canonical myself and is in connection with the Yoast code on the site. Why does it do that and should i do something about it?
Technical SEO | | infocell0 -
Meta tags question - imagetoolbar
We inherited some sites from another vendor & they have these tags in the head of all pages. Are they of any value at all? Thanks for the help! Wick Smith
Technical SEO | | wcksmith0