Does it matter if a rel = "canonical" element is added to the beginning or the end of a URL?
-
I am curious to know if adding a rel = "canonical" tag to the end of a link element will affect its purpose?
-
It doesn't matter at all.. in my opinion and would be shocked to find im wrong...
easy test... add ALT element to any picture.. .before and after SRC... if it works properly in both situation, the same should be with rel canonical...
if you are still wondering about proper use.. always you can validate your document on W3C.org... it would point it out I guess.
-
I have only ever seen it used in the first format in ninjamarketers post and when it is recommended as a course of action on SEO sites and in SEO books it is also in that format.
-
Not exactly sure if this is what you are talking about.
rel="canonical" href="http://www.example.com/product.php?item=swedish-fish"/>
AND
rel="canonical"/>
is the same.
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
-
ASP Canonical and Internal Linking
Hello - I'm working with a large ASP website and trying to troubleshoot issues I believe might be related to how the canonical element is used. On page - all internal links, including navigation links, use the following format (uppercase) - website.com**/F**older/Folder/Product . So, any page navigated to will always display the uppercase version of the URL. And, all of these pages have the canonical tag pointing to the lowercase version of the URL. The pages included in Google's index are all lowercase versions of the URL like this - website.com**/f**older/folder/product . My concern is that a lot of internal authority flow is being impacted/negated because all internal links point to the uppercase versions of URLs and all those pages reference the lowercase version URL in the canonical reference. Is this a valid concern?
On-Page Optimization | | LA_Steve0 -
Duplicate Content when Using "visibility classes" in responsive design layouts? - a SEO-Problem?
I have text in the right column of my responsive layout which will show up below the the principal content on small devices. To do this I use visibility classes for DIVs. So I have a DIV with with a unique style text that is visible only on large screen sizes. I copied the same text into another div which shows only up only on small devices while the other div will be hidden in this moment. Technically I have the same text twice on my page. So this might be duplicate content detected as SPAM? I'm concerned because hidden text on page via expand-collapsable textblocks will be read by bots and in my case they will detect it twice?Does anybody have experiences on this issue?bestHolger
On-Page Optimization | | inlinear0 -
Keyword in URL: Ranking Factor?
I've got a site about a specific topic, which we'll call "themes" for the sake of this discussion. I personally like to keep the url structure short and clean (for usability purposes, but mainly because I'm a perfectionist and a minimalist). I feel that adding "themes" to the url structure is a bit redundant. However, nearly every keyword phrase that my site should rank for includes the word "themes." So I'm wondering how much I'm handicapping myself by not including the keyword "themes" in the url? The domain name itself sort of includes the keyword . . . although it's in Italian (I chose the domain for it's brand-ability, not for the keyword). A quick example: My Url Structure: www.themo.com/topic/abc My Competitor's Url Structure: www.sitesample.com/themes/topic/abc For many of the keywords, the competitors with the keyword in the url rank highest. But, I'm not sure how much emphasis to place on this, because from my understanding Google doesn't pay as much attention to url keywords anymore . . . and those sites might just be ranking high because they've been around for so long (which also happens to be the reason why they coincidentally also include the keyword in the url, because they started the site when that was a high ranking factor). Thoughts? Should I just trash my perfectionism and add the keyword to the url structure? (By the way, the site is only a couple months old and doesn't have any significant backlinks to inner pages yet, so changing the url structure wouldn't be a big deal if I decided to do that).
On-Page Optimization | | JABacchetta0 -
What does this mean on first step up setting up a campaign? "Having two "twin" domains that both resolve forces them to battle for SERP positions, making your SEO efforts less effective. We suggest redirecting one, then entering the other here."
I am BRAND new to this, and setting up my first campaign. I choose subdomain, and entered www.pdsaz.com. This is the message I receive: We have detected that the domain www.pdsaz.com and the domain pdsaz.com both respond to web requests and do not redirect. Having two "twin" domains that both resolve forces them to battle for SERP positions, making your SEO efforts less effective. We suggest redirecting one, then entering the other here.
On-Page Optimization | | cschwartzel0 -
Which Canonical URL Tag tag should we remove?
Hi guys, We are in the process of optimizing the pages of our new site. We have used the 'on page' report card feature in the Seomoz Pro Campaign analyser. On several pages we got the following result No More Than One Canonical URL Tag Number of Canonical tags <dl> <dd>2</dd> <dt>Explanation</dt> <dd>The canonical URL tag is meant to be employed only a single time on an individual URL (much like the title element or meta description). To ensure the search engines properly parse the canonical source, employ only a single version of this tag.</dd> <dt>Recommendation</dt> <dd>Remove all but a single canonical URL tag</dd> </dl> I have looked into the source code of one of the pages http://www.sabaileela.co.uk/acupuncture-london and can see that there are two "canonical" tags. Does anyone have any advise on which one I should ask the developer to remove? I am not sure how to determine the relative importance of either link.
On-Page Optimization | | brian.james0 -
Canonical tag for home page
This question was asked before but I didn't see a clear answer to it. If I've got a site that has as it's home page: http://www.mysite.com/, and there are many references within the site back to the home page that point to /index.php, should I include a canonical tag in the index.php page like this: to avoid a duplicate content issue, and to have all juice from both links combined into one?
On-Page Optimization | | wcksmith0 -
Keywords in URL:
what kind of URL should we use? www.keyword.net/keyword-city or www.keyword.net/city which URL you would prefer?
On-Page Optimization | | alibeef0 -
All Caps in URL
Hello, we're working with a corporate client to make changes to their URL structure. We recommended that they use a structure like "domain.com/state/city/location". Their IT department is on board, but they just mentioned that all of the state and city info will be pulled from a database where it is all caps. So it would be like this "domain.com/STATE/CITY/location" I'm concerned that it may be spammy, but I can't find any definitive information online. We usually like to test issues like this on our own sites before advising clients, but we're working up against a quick deadline. Any help with this issue would be great, especially real world experience, not just theories. Thank you.
On-Page Optimization | | interactivek0