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.
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
-
Console: Change Of Address, 301 Redirects Step Not Working
Hi everyone, We just made a switch to a new domain based on a rebrand, and we are currently directing users who navigate to the homepage of the old site to an interim page on our new site that reads companyname.com/companyname, that then redirects to the actual homepage of the new site, companyname.com. The redirect page's purpose is to tell users about the brand name change before showing them the new site. The challenge is that in the second step of the verification process for the address change, it reads that our domain name request does not correspond because the homepage is directing to this interim page. Is there a way for us to continue to direct people to companyname.com/companyname and have GSC verify that the 301 redirects work properly? Ideally we would not want to direct people from the homepage of the old site to the homepage of the new site. Thank you in advance for your help. Sincerely, Chase VHSpF
Technical SEO | | commcreative0 -
How bad is it to have duplicate content across http:// and https:// versions of the site?
A lot of pages on our website are currently indexed on both their http:// and https:// URLs. I realise that this is a duplicate content problem, but how major an issue is this in practice? Also, am I right in saying that the best solution would be to use rel canonical tags to highlight the https pages as the canonical versions?
Technical SEO | | RG_SEO0 -
Duplicate Content - Reverse Phone Directory
Hi, Until a few months ago, my client's site had about 600 pages. He decided to implement what is essentially a reverse phone directory/lookup tool. There are now about 10,000 reverse directory/lookup pages (.html), all with short and duplicate content except for the phone number and the caller name. Needless to say, I'm getting thousands of duplicate content errors. Are there tricks of the trade to deal with this? In nosing around, I've discovered that the pages are showing up in Google search results (when searching for a specific phone number), usually in the first or second position. Ideally, each page would have unique content, but that's next to impossible with 10,000 pages. One potential solution I've come up with is incorporating user-generated content into each page (maybe via Disqus?), which over time would make each page unique. I've also thought about suggesting that he move those pages onto a different domain. I'd appreciate any advice/suggestions, as well as any insights into the long-term repercussions of having so many dupes on the ranking of the 600 solidly unique pages on the site. Thanks in advance for your help!
Technical SEO | | sally580 -
The search button on my site no longer works. Any fixes?
I have a wordpress site (can be found at theFlooringGirl.com). On all the pages, there is a search button so you can search for words on the site, but it no longer seems to work. My original webdesigner put it in, and I can't seem where to find it/where to edit/fix it. I finally found something that mentions "search" in the widget section and it is in the tool bar, but I can't find where/how to edit/fix it. BTW, I do have two other smaller sites that have this button and it still works there...so if I could find where to edit, I could theoretically copy and paste the code...if I knew where). Any advice? Thx.
Technical SEO | | Jborgueta0 -
Change name of directory
How can I best change the name of a directory on my website (example: http://www.website.com/nameofdirectory/)? The directory has lots of content included in it which has links from all over my website. I guess I have to adjust those links? How do I easily collect all of the links? Which is the code I should use in my htacces? Thank you! With kind regards,
Technical SEO | | wellnesswooz
Dieter0 -
How to allow one directory in robots.txt
Hello, is there a way to allow a certain child directory in robots.txt but keep all others blocked? For instance, we've got external links pointing to /user/password/, but we're blocking everything under /user/. And there are too many /user/somethings/ to just block every one BUT /user/password/. I hope that makes sense... Thanks!
Technical SEO | | poolguy0 -
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 -
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