Canonical URL availability
-
Hi
We have a website selling cellphones. They are available in different colors and with various data capacity, which slightly changes the URL.
For instance:
- Black iphone, 16GB: www.site.com/iphone(black,16,000000000010204783).html
- White iphone, 16GB: www.site.com/iphone(white,16,000000000010204783).html
- White iphone, 24GB: www.site.com/iphone(white,24,000000000010204783).html
Now, the canonical URL indicates a standard URL:
But this URL is never physically available. Instead, a user gets 301 redirected to one of the above URLs. Is this a problem? Does a URL have to be "physically" available if it is indicated as canonical?
-
Thanks Dirk for your great in-depth response!
I will now check with developers what the estimated effort would be. Making the canonical URL available will let me sleep better at night before releasing the new site version.
I think the risk shouldn't be huge if we cannot do this and will not waste too many ressources on this (unless, of course, we see a negative impact, which I will then report here;)Best,
Phil -
With a 301 you communicate that the requested resource is no longer available (The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs- source: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)
If you look at the definition of a canonical url - it indicates the preferred URL to use, so that the search results will be more likely to show users that URL structure. (Google attempts to respect this, but cannot guarantee this in all cases.)
So basically what you are telling to Google:
On your site you ask Google not to index site.com/A.htm - but rather to index url site.com/B.htm
On the url site.com/B.htm you put a 301 to site.com/C.htm - in other words force Google to index C.htm rather than B.htm (the 301 indicates that the page has permanently moved to a new location - so is no longer available on B.htm)So in fact - you ask Google not to index A.htm but C.htm instead. Rather than doing this in a complicated 2step process using both canonical & redirect it would be simpler & make more sense to directly put a canonical url on A.htm with C.htm as canonical.
In your case you could create www.site.com/iphone but if it's identical to www.site.com/iphone(black,16,000000000010204783).html I don't think you will gain a lot (especially if it requires a lot of development)
rgds,
Dirk
-
Thank you Dirk!
I did look at the article you pointed out, but could not initially find that information:
"Double-check that your rel=canonical target exists (it’s not an error or “soft 404”)"However, for me this is not 100% conclusive. The page does exist, in a way, but it's redirected. I know that to be on the safe side, we should better make it available. But as it would mean a lot of additional programming effort, I am trying to find out if it really is necessary. Thats' why I was hoping someone already has some experience with this...
-
Normally a canonical url should be physically available - see also: http://googlewebmastercentral.blogspot.be/2013/04/5-common-mistakes-with-relcanonical.html
With a canonical you indicate the Search engines which page you want to have listed in the SERP's. A page which is 301'd to another page will never get listed in the results.
In your case - it's probably better to use the url where your are redirecting to as canonical - or to create a page www.site.com/iphone that is not redirected
rgds,
Dirk
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
-
Quickview product modal - should I add rel=canonical to each URL ?
I have a quick view modal for all products on my website. How should I deal with these in the page set up eg. should I rel=canonical to the full product page and no-index in robots txt or are they ok in Googles eyes as they are part of the UX ?
Intermediate & Advanced SEO | | ColesNathan0 -
Best SEO url woocommerce, what to do?
Hi! Today we have our product categories indexed (by misstake) and for one of our desired keywords, a category have the nr 1 rank. By misstake, we didnt set nofollow, noindex on our categories, just tags, archives etc. We are now migrating to from Ithemes Exchange to Woocommerce and ime looking on improving our SEO urls for the categories. For keyword "Key1" we rank with this url: http://site/product-category/Key1. The seo meta title and description where untouched when we launched the site last spring so it doesnt look so good.. The plan is to stripe out product-category and instead ad some description ( i have a newly written text of 95 words, 519 letters without space with they keyword precent 5 times in a natural way ) to that particular category and have the url as following: http://site/key1 and then have a 301 redirect for the old http://site/product-category/Key1. What do you think of this? What shall i consider? on the right track? Grateful for any help! // Jonas
Intermediate & Advanced SEO | | knubbz0 -
Safely change canonical URL many times
Hi, We are actually working on a new product information section for our network of websites (site A, B, C and D) where product landing pages allow to download information in pdf format and are active for downloads during a period of two months (active form for commercial reasons) with a unique URL (the case today). Here is a possible scenario for these product landing pages in the near future: Product is promoted in website A during 2 months (January to February) so canonical URL = A/page. Once expired, the product info. download form disappears. Customer decides to promote the same product in the same site A as well in site B from April to May so canonical URL will still be A/page. Canonical URL of B/page will point to A/page. Customer decides to relaunch his product promotion this time in site C from July to August so canonical URLs of pages A/page and B/page will now point to C/page as the latter will be the only product campaign active with a download form At the end of the year the customer does another campaign for the same product this time in website D so we will change the canonical URL of pages A/page, B/page and C/page to D/page as the latter will be the only product campaign active with a download form The obvious question here is: will this way of changing canonical URLs dynamically hurt the SEO of the section, pages, one particular website or the whole network ? Would it be better and safer to just keep the first canonical URL forever? A/page in this example Thanks so much for your input on this.
Intermediate & Advanced SEO | | JulienLetellier0 -
URL Keyword Structure and Importance
Hey Guys, I've done quite a bit of research on this but still can't decide what the correct answer is, so was hoping the Moz community might be able to give some clarification. Say I have a URL **www.yourdomain.com/product/domain-names **is there any benefit in changing my site's backend structure (a relatively lengthly process) so the URL can read **www.yourdomain.com/domain-names **without the 'product' slug? I understand keywords in the URL can have a small impact on SEO, but does the positioning to this degree play any part? Any advice would be great.
Intermediate & Advanced SEO | | paragongroup
Cheers.0 -
Spaces in URL line
Hi Gurus, I recently made the mistake of putting a space into a URL line between two words that make up my primary key word. Think www.example.com/Jelly Donuts/mmmNice.php instead of www.example.com/JellyDonuts/mmmNice.php This mistake now needed fixing to www.example.com/Jelly Donuts/mmmNice.php to pass W3, but has been in place for a while but most articles/documents under 'Jelly Donuts' are not ranking well (which is probably the obvious outcome of the mistake). I am wondering whether the best solution from an SEO ranking viewpoint is to: 1. Change the article directory immediately to www.example.com/JellyDonuts/mmmNice.php and rel=canonical each article to the new correct URL. Take out the 'trash' using robots.txt or to 301 www.example.com/Jelly Donut to the www.example.com/JellyDonut directory? or perhaps something else? Thanks in advance for your help with this sticky (but tasty) conundrum, Brad
Intermediate & Advanced SEO | | BM70 -
Canonical Meta Tag
Can someone explain how this works and how necessary is it? For example, I have a new client, who is ranking WITHOUT the www in their domain, but they have a good deal of backlinks already that have www in it. When I set up google webmaster tools I made 2, one for WWW and one for WITHOUT and there are diffenet numbers of backlinks for each. I have no idea what do about this or if I should even do anything. Thanks
Intermediate & Advanced SEO | | TheGrid0 -
How important is it to clarify URL parameters?
We have a long list of URL parameters in our Google Webmasters account. Currently, the majority are set to 'let googlebot decide.' How important is it to specify exactly what googlebot should do? Would you leave these to 'let googlebot decide' or would you specify how googlebot should treat each parameter?
Intermediate & Advanced SEO | | nicole.healthline0 -
Help with canonical tag
hello- i got this recommendation <dl> <dt>Recommendation</dt> <dd>Add a canonical URL tag referencing this URL to the header of the page</dd> <dd>from my "report card" and i see also that i have a lot of issues with duplicate content but i really dont have any duplicate content on my site.</dd> <dd>the crawl has apparently marked every post in my blog as duplicate page content.</dd> <dd>and the "use canonical tag" suggestion keeps appearing as a fix to my problems.</dd> <dd>could you please help me with ------How do i create a canonical tag?</dd> <dd>is it just rel=canonical?</dd> <dd>and where do i put it?</dd> <dd>i should put it on every page right?</dd> <dd>or with CSS my webmaster could probably do it very quickly right?</dd> <dd>i get the basic concept behind rel=canonical but i cant say i fully understand it -</dd> <dd>i need some help with regard to how and where this tag should be placed.</dd> <dd>thanks,</dd> <dd>erik
Intermediate & Advanced SEO | | Ezpro9
</dd> <dd>.</dd> </dl>0