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
-
Canonical tag not working
I have a weebly site and I put the canonical tag in the header code but the moz crawler still says that I'm missing the canonical tag. Any tips?
Technical SEO | | ctpolarbears0 -
How are Server side redirects perceived compared to direct links (on a Directory site)
Hi, Im creating some listings for a client on a relevant b2b directory (a good quality directory) I asked if the links are 'followed' or no 'followed' and they said they are 'server side redirects' so no direct links. Does anyone know how these are likely to be perceived by Google ? All BEst Dan
Technical SEO | | Dan-Lawrence1 -
CMS Auto Generated Sitemap Work Around?
Hey Moz Community, The Shopify ecommerce platform auto generates xml sitemaps and robots.txt for you. Frustratingly there is no way to augment either of these. If I noindex on a page it will still show up in the site map... Causing inconstancy with the sitemap submitted to GWT. In theory if put the MY version of the sitemap on site and point GWT to MY version.. Would this solve the inconstancy ? Or would Googlebot go in and still crawl the default /sitemap.xml anyway? Any suggestions and insight is greatly appreciated!
Technical SEO | | paul-bold0 -
Is seo hosting still working ?
Hi, I just starting to do seo hosting for my seo campaign, using 5 IP in europe and 5 IP in US, all class C and have different IP and different domain. is it still work ? or it just will wasting my time ? thanks
Technical SEO | | theconversion0 -
Remove a directory using htaccess
Hi, Can someone tell me if there's a way using htaccess to say that everything in a particular directory, let's call it "A", is gone (http 410 code)? i.e. all the links should be de-indexed? Right now, I'm using the robots file to deny access. I'm not sure if it's the right thing to do since Google webmaster tools is showing me the link as indexed still and a 403 error code. Thanks.
Technical SEO | | webtarget0 -
Using Drupal to Author Websites across 2 Domains
I am new to Drupal and as an organization we are considering using it to author both our corporate site and our blog. In the future we'd like our blog to live at a separate domain and I understand Drupal is capable of publishing across 2 domains. Does anyone know of any SEO implications to this type of infrastructure set up? Are there specific things to be mindful of when setting up the Drupal CMS across 2 domains? thanks for the assistance!
Technical SEO | | Hershel.Miller0 -
IIS Work Around 301 Redirects
We are redirecting page-level content (about 500 pages) from several sub domains to our main site. With IIS, It’s my understanding that file locations must match. For example: subdomain/pathA/filename1
Technical SEO | | DigitalMkt
mainsite/pathA/filename1 Since the sub domain files are not on the main site, this means we'd create up to 500 zero byte dummy files on the new server and replicate the sub domain directory structure. With IIS is there a work around for handling page level redirects without duplicating the file location? In the case of white papers, videos and case studies, we'll imlement directory level redirection. Thanks in advance.0 -
How rel=canonical works with index, noindex ?
Hello all, I had always wondered how the index,noindex affects to the canonical. And also if the canonical post should be included in the sitemap or not. I posted this http://www.comparativadebancos.co... and with a rel=canonical to this that was published at the beginning of the month http://www.comparativadebancos.co... but then I have the first one in google http://www.google.com/search?aq=f... May be this is evident for you but, what is really doing the canonical? If I publish something with the canonical pointing to another page, will it still be indexed by google but with no penalty for duplicate content? Or the usual behaviour should have been to havent indexed the first post but just the second one? Should I also place a noindex in the first post in addition to the canonical? What am I missing here? thanks
Technical SEO | | antorome0