Deos canonicalisation work across directories?
-
Hi everyone,
I'm new to the group and can't find this question answered anywhere else.
I have a dynamic site that we aim to rewrite the URLs removing parameters and making it easier for the engines to index us and users to recall URLs.
The issue that worries me relates to canonical tags. If I put a canonical tag on a directory..
http://www.abc.com/spain (index page)
and then point all variations of that page to the index page will it stop/pass juice for those pages at the next directory level to the index page rather than properly index and rank those pages appropriately. ie.
http://www.abc.com/spain/Malaga.html will it pass any link juice I have for the second level to the first level?
It concerns me that it will as I had a conversation with someone who lost all visibility on her site and it turned out to be the canonical tag on the home page that was causing it.
Thanks in anticipation
-
Peter is correct below. I think you are heading in the wrong direction. After your explanation here, I understand a little more about where you are going. Here is what I would say to your question:
1. All "old urls" (and all versions of) will need to have a 301 redirect to the new SEo friendly url. The currency is a different issue. You cant redirect that because you would never be able to show multiple currencies to the right users. In the curreny example, you could use a canonical tag to the most popular or default currency.
2. Directories and IA (information architecture) of your site have nothing to do with redirects or canonical tags. As Peter pointed out below, /spain/malaga is a totally different page than /spain. You dont do anything special with tags here, you just create unique content for each of those pages. You pass proper link juice upwards by internally linking your /spain/malaga page up to your /spain page, and every other page that exists below a main level directory page. Essentially, you want all deeper pages linking up to your main directory page.
3. In the small cases that you will be using the canonical tag, you put those tags on all the pages except the original page.
Hope that clears things up. I was/am still a bit confused as to your structure, but think this should get you in the right direction.
-
Sorry, I'm still confused (read your reply to Ryan, who asked some good questions). The canonical, like a 301-redirect will consolidate link-juice, but only for the pages it's on and preferably only for actual duplicates.
If you put a canonical tag at the "/Spain" level, it doesn't impact "/Spain/Malaga.html" at all. It just makes sure that any stray inbound links to "/Spain" duplicates (like "/Spain?print=true") have their link-juice consolidated and don't show up in the index.
If you could give a couple of sample tags and how you're looking to use them, maybe we could dig in deeper. I feel like I'm missing something still.
-
Hi Ryan,
Thanks for the response. I have to say I'm impressed at the speed!
Hmmm, there is a bit of both going to be happening. We are restructuring some of the dynamic pages to present user and search engine friendly URLs. I understand we will need to be putting in place redirects for those pages, so far so good. We have, for example, pages were each one can have a parameter for each currency. I understand we would merely redirect every parameter version to the original page under the new user friendly URL?
We are then creating specific SEO landing pages for dedicated keywords per page. The URLs in here will be structured in directories. What I am confused about relates to differing levels of directory. If we put in a canonical tag on the top level will it direct all rank and link juice to that level, so Spain/ would benefit from the links to spain/malaga ?? Or would each level hold its own link juice spreading to links out and not the other way? I just don't want to pass link juice 'up' the chain so to speak due to a canonical tag.
Finally, and this may answer my question. If I have two pages that I want a tag to pass the link juice to one of them...do I place the tag on both pages and indicate on both tags the URL of the main page? If that is correct then I understand that the directory issue I am worried about won't exist because I will only put canonical tags on the one directory level.
Hope this isn't too long!
Thanks
Andy
-
Not sure why you want to use the canonical tag in this instance. If http://www.abc.com/spain/Malaga.html is truly a duplicate or replicated page of the new /spain page, then I guess you could do it. But it sounds to me like you are re-structuring your urls to be more friendly, and if that is the case you will want to permanently 301 redirect the old urls to the new SEO friendly one. That will pass on the SEO juice in a more effective way then canonical a bunch of the old pages that you dont want anyway.
Is that the case? It kind of depends on the content of each of the pages, and how that content interacts with the other pages. Typically canonical is used for paginated instances or duplicated content that is handle in a different matter, not redirecting juice from old urls/pages to new ones.
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
-
Inner pages of a directory site wont index
I have a business directory site thats been around a long time but has always been split into two parts, a subdomain and the main domain. The subdomain has been used for listings for years but just recently Ive opened up the main domain and started adding listings there. The problem is that none of the listing pages seem to be betting indexed in Google. The main domain is indexed as is the category page and all its pages below that eg /category/travel but the actual business listing pages below that will not index. I can however get them to index if I request Google to crawl them in search console. A few other things: I have nothing blocked in the robots.txt file The site has a DA over 50 and a decent amount of backlinks There is a sitemap setup also any ideas?
Technical SEO | | linklander0 -
What Metadata should one use multi country directory
Currently this is what applies throughout the site. property="og:locale" content="en_GB" /> How would one set this for properties in Italy or Spain for example? (The language is all in English) Regards Tai
Technical SEO | | Taiger0 -
Schema.org markup for breadcrumbs: does it finally work?
Hi, TL;DR: Does https://schema.org/BreadcrumbList work? It's been some time since I last implemented schema.org markup for breadcrumbs. Back then the situation was that google explicitly discouraged the use of the schema.org markup for breadcrumbs. In my experience it had been pretty hit or miss - sometimes it worked without issues; sometimes it did not work without obvious reason. Consequently, I ditched it for the data-vocabulary.org markup which did not give me any issues. However, I prefer using schema.org and currently a new site is being designed for a client. Thus, I'd like to use schema.org markup for the breadcrumb - but of course only if it works now. Google has dropped the previous warning/discouragements and by now lists a schema.org code https://developers.google.com/structured-data/breadcrumbs based on the new-ish https://schema.org/BreadcrumbList. Has anybody here used this markup on a site (preferably more than one) and can confirm whether or not it is reliably working and showing the breadcrumb trail / site hierarchy in the SERP? Thanks for your answers! Nico
Technical SEO | | netzkern_AG0 -
Sitelink demotion not working after submitting in Google webmaster tool
Hello Friends, I have a question regarding demotion of sitelinks in Google webmaster tool. Scenario: I have demoted one of the sitelink for my website two months back; still the demoted sitelink has not been removed from the Google search results.May I know any reason, why this page is not getting removed even after demoting from GWT? If we resubmit the same link in demotion tool one more time, will it work? Can anybody help me out with this? Note: Since the validly of demotion exists only for 3 months (90 days), I am concerned about the same.
Technical SEO | | zco_seo0 -
John Mueller says don't use Schema as its not working yet but I get markup conflicts using Google Mark-up
I watched recently John Mueller's Google Webmaster Hangout [DEC 5th]. In hit he mentions to a member not to use Schema.org as it's not working quite yet but to use Google's own mark-up tool 'Structured Data Markup Helper'. Fine this I have done and one of the tags I've used is 'AUTHOR'. However if you use Google's Structured Data Testing Tool in GWMT you get an error saying the following Error: Page contains property "author" which is not part of the schema. Yet this is the tag generated by their own tool. Has anyone experienced this before? and if so what action did you take to rectify it and make it work. As it stands I'm considering just removing this tag altogether. Thanks David cqbsdbunpicv8s76dlddd1e8u4g
Technical SEO | | David-E-Carey0 -
404 not working?
Apologies - not strictly a search question, although I am concerned that it may be negatively impacting my sites. If I enter an invalid URL - the "page not found 404 error" doesn't seem to be working. I can enter http://www.%sitename%/index.php/randomnamemadeup/ and it displays the homepage (albeit with a broken CSS). I can't fathom it out - any help appreciated. Thanks, David
Technical SEO | | newstd1000 -
Multiple (different) domains and canonicalisation
Hello, We've had experience with canonical tags for various domains before, such as tidying up product categories etc... However, can anyone point me to any guidelines about different domains using canonicalisation. For example: If I had the following sites, all with identical content - exampledomain.com completelydifferentdomain.net anothertotallydifferentdomain.com With canonical tags pointing to the first one (exampledomain.com), could this be harmful? Is it better to 301 redirect the other sites? Thanks
Technical SEO | | Sarbs0 -
Canonicalization isn't consistent across site!?!
I started managing a fairly small site that consists of a home page, flash portfolio, and a wordpress blog. The home page ( main index ) is canonicalized as: The wordpress blog is canonicalized as Does canonicalization need to be consistent across the site? Could the difference in canonicalization cause any ranking problems, and or indexing problems for the blog / entire site? Any thoughts are appreciated!
Technical SEO | | SEOProPhoto0