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
-
Snippet not work for my article in google
I add the script for star snippet in my website but not work in my posts you can see it in this URL https://youtech.ooo/showbox-apk-download/ when I searched in google my custom keyword "Showbox" my competitor show with star snippet in SERP but my site doesn't show snippet stars. Thank You!
Technical SEO | | JackJasonn1 -
Regional sites built on different platforms - will this solution for international targeting work?
We are working with our dev team on a few upcoming user stories to improve store.hp.com. We came across a question which isn’t clear in the international targeting documentation. Within http://store.hp.com, we have a number of regional stores, but those are often built on separate platforms. Therefore a story developed on the US infrastructure doesn’t carry over to Canada and so forth. The Canada Store is managed by a different team, so that story needs to get scoped, prioritized, etc. independently. In regards to helping Google understand page equivalence, will Google accept the page relationship if we include hreflang tags exclusively in the sitemap for the US site and exclusively as page-level markup for Canada site? For example: http://store.hp.com/CanadaStore (hreflang notation at page-level): http://store.hp.com/us/en" /> http://store.hp.com/CanadaStore" /> http://store.hp.com/us/en" /> http://store.hp.com/us/en (hreflang notation within sitemap file): <loc>http://store.hp.com/us/en</loc> rel="alternate" hreflang="en-ca" href=" http://store.hp.com/CanadaStore" /> rel="alternate" hreflang="en-us" href="http://store.hp.com/us/en" /> Appreciate the help anyone can give! Zach
Technical SEO | | ZachKline0 -
XCart Directory 301s Not Working
I'm working with someone to make fixes to an xcart site but I'm at a loss for some fixes. Some directory URLs had been changed around on their ecommerce site to make them more descriptive & more human friendly. The problem is that according to the team's coder, simple redirects won't work for the directories and mod rewrite and redirectmatch didn't work for some unknown reason. I don't really know anything about xcart. I've made some basic changes and redirects before though their admin panel but I don't have any clue as to how to make directories 301 properly. Any insights? Thanks!
Technical SEO | | MikeRoberts0 -
Paid directory links--good or bad thing to do for Prof. Services sites?
Yes, I am pretty darn new to SEO and have heard that Google doesn't like Paid directory links. I have looked at some of my competition and they must have paid to get in certain directories as I don't see any backlinks posted on their home pages (usually a badge or icon must be placed on the homepage to avoid a fee.)
Technical SEO | | Stratocaster0 -
Is my robots.txt file working?
Greetings from medieval York UK 🙂 Everytime to you enter my name & Liz this page is returned in Google:
Technical SEO | | Nightwing
http://www.davidclick.com/web_page/al_liz.htm But i have the following robots txt file which has been in place a few weeks User-agent: * Disallow: /york_wedding_photographer_advice_pre_wedding_photoshoot.htm Disallow: /york_wedding_photographer_advice.htm Disallow: /york_wedding_photographer_advice_copyright_free_wedding_photography.htm Disallow: /web_page/prices.htm Disallow: /web_page/about_me.htm Disallow: /web_page/thumbnails4.htm Disallow: /web_page/thumbnails.html Disallow: /web_page/al_liz.htm Disallow: /web_page/york_wedding_photographer_advice.htm Allow: / So my question is please... "Why is this page appearing in the SERPS when its blocked in the robots txt file e.g.: Disallow: /web_page/al_liz.htm" ANy insights welcome 🙂0 -
Will manually autotagging my adwors campaign work?
Good Morning from 17°C Mostly Cloudy Humidity: 85% Wetherby Uk 🙂 For reasons too arduous to detail autotagging my ppc ads is not working in that Google analytics ppc data is missing:-( To fix this I've gone down ther route of manually autotagging the my ppc campaigns by adding this onto the end of the campaign urls - www.aldermedia.co.uk/?utm_source=google&utm_medium=cpc&utm_term={keyword}&utm_campaign=Aldermedia My question "But will adding curly brackets around the work keyword as in {keyword} dynamically record the different keywords used and show in analytis?" Below is a screenshot of the situation: http://i216.photobucket.com/albums/cc53/zymurgy_bucket/manually-autotagging-campaigns-screenshotcopy.jpg I have disabled autotagging in the ppc dashboard to allow for autotagiing to work but ultimately I want to see some ppc data in the campaigns section of Google analytics and I really want to know what paid terms visitors entered. Hope this all makes some sense, please take a look at the above screenshot to help. Any insights welcome 🙂
Technical SEO | | Nightwing0 -
Hiding sub directory from a url string
I have been trying for a few hours now to hide a sub-directory from a url string on a joomla site using .htaccess every method i have found either has no effect or breaks the site. i am aiming to change all links with component in them: http://mysite.com/component/music/7335 to http://mysite.com/music/7335 I am using the latest Joomla 2.5 install but not sure how or if that affects anything. Any help would be greatly appreciated
Technical SEO | | omega0 -
Crawl Errors for duplicate titles/content when canonicalised or noindexed
Hi there, I run an ecommerce store and we've recently started changing the way we handle pagination links and canonical links. We run Magento, so each category eg /shoes has a number of parameters and pages depending on the number of products in the category. For example /shoes?mode=grid will display products in grid view, /shoes?mode=grid&p=2 is page 2 in grid mode. Previously, all URL variations per category were canonicalised to /shoes. Now, we've been advised to paginate the base URLs with page number only. So /shoes has a pagination next link to /shoes?p=2, page 2 has a prev link to /shoes and a next link to /shoes?p=3. When any other parameter is introduced (such as mode=grid) we canonicalise that back to the main category URL of /shoes and put a noindex meta tag on the page. However, SEOMoz is picking up duplicate title warnings for urls like /shoes?p=2 and /shoes?mode=grid&p=2 despite the latter being canonicalised and having a noindex tag. Presumably search engines will look at the canonical and the noindex tag so this shouldn't be an issue. Is that correct, or should I be concerned by these errors? Thanks.
Technical SEO | | Fergus_Macdonald0