Trailing slash and rel="canonical"
-
Our website is in a directory format:
http://www.website.com/website.asp
Our homepage display URL is http://www.website.com which currently matches our to eliminate the possibility of duplicate content.
However, I noticed that in the SERPs, google displays the homepage with a trailing slash http://www.website.com/
My question: should I change the rel="canonical" to have a trailing slash? I noticed one of our competitors uses the trailing slash in their rel="canonical"
Do potential benefits outweigh the risks?
I can PM further information if necessary.
Thanks for the assistance in advance...
-
Thanks for the help George and participating in the discussion. I like the ease of the syntax involved with the non-www version, but I think people's and browsers natural inclination towards the www version makes it the most practical at this juncture. Perhaps if you're building a new site the less traditional non-www might be used, but like yourself, I also prefer the www.
Thanks,
Marty
-
It's really up to you and your marketing team I suppose. Maybe ask which sounds better (e.g. "for the best jambalaya in town go to www.jambalaya.com!" vs. "for the best jambalaya in town go to jambalaya.com!").
I prefer www.example.com myself.
-
Yes, I realized my typo after I posted, thanks. We do use the www version consistently, so no problem there. That being said, what's your take on the www vs non-www preferred domain structure, I've noticed some popular site (mashable comes to mind) going away from the www preferred domain -- just like to hear differing opinions if/when you have the time.
Thanks,
Marty
-
Yes, I realized my typo after I posted, thanks. We do use the www version consistently, so no problem there. That being said, what's your take on the www vs non-www preferred domain structure, I've noticed some popular site (mashable comes to mind) going away from the www preferred domain -- just like to hear differing opinions if/when you have the time.
Thanks,
Marty
-
I don't think you will lose any link juice.
I also don't think it matters which URL you use for domain root. That said, it would matter if you were using http://www.domain.com versus http://domain.com. Otherwise, I don't think you need to worry.
-
Hello George, thank you for your helpful response. While I knew it was the case for absolute URLs and subdirectories, I was unsure whether it also pertained to the root domain. The link provided a helpful explanation, although SEO's have been, "reasonably sure that just about all search engines will be normalizing all those URLs to be the same," in the past only to have those certainties change unexpectedly. That being said, I think the forum made a good point in saying,"search engines generally don't want to deliberately add duplicates to their index."
With our canonical URL set to www.domain.com , do you believe there will be any loss of link juice with backlinks using both the domain.com and domain.com/ , or will it just be a better indicator to the search engines that both URLs are one in the same? Also do you think it matters that the domain root with the trailing slash is the one that shows up in the Google SERPs? --- to me that seems to indicate that Google prefers the root domain in directories to have a trailing slash
-
Hi Marty, there is really no difference between root domain URLs with or without trailing slashes.
Note, however, that this is not true for absolute URLs: http://www.example.com/page is not the same as http://www.example.com/page/. For absolute URLs that are not the root domain, you need to be pretty explicit about whether or not it has a trailing slash. Many content management systems (e.g. WordPress) will let you choose to have trailing slashes or not.
At this point, I don't think you need to do anything with your homepage canonical URL since it is the same as adding a trailing slash.
Hope this helps!
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
-
Call for Help. Hit Badly with "Medic" and another 30% Loss with Sept 28th Update
Hi Everyone, I am not sure how this is all happening. We have been online for about 15 years, and now we are at our lowest amount of traffic in about 10 years. Our sites are www.bestpricenutrition.com and www.mysupplementstore.com. We sell commodity items, but I have focused on unique product descriptions, tons of UGC, blog posts and guides for awhile now and it has always done us well. Until as of late. This is what I feel led up to this, but I am hoping there is something I missed. May 1st, 2018: Migrated www.bestpricenutrition.com and www.mysupplementstore.com from Shopify. Similar sites, but almost all unique content. We purchased www.mysupplementstore.com about 8 years ago. A ton of traffic and sales, which is why we didn't just redirect it. Around May 25th: www.mysupplementstore.com took a big hit and lost almost 40% of its traffic. Nothing happened to www.bestpricenutrition.com, we actually increased traffic. Aug 1st Update: www.mysupplementstore.com lost another 25% of its traffic. www.bestpricenutrition.com lost about 40% of it's traffic. Sept 28th: Nothing happened to www.mysupplementstore.com, but www.bestpricenutrition.com lost another 30% of it's traffic. So I have been trying to figure out if there is anything technically wrong, but doesn't seem so. These are issues we discovered in August. During the migration, the reviews from each site were syndicated to both websites. There were 1000's. This was resolved in mid August. During the migration, the company doing the migration pushed our blog posts to both websites. 100's of blog posts duplicated to each website. This was resolved mid August. We found that a disgruntled employee instead writing unique content for our product pages, she was copying them one from another. This was about 100 product pages, which we have since resolved. What's Left I noticed on www.bestpricenutrition.com that we have 100's of blog posts that are getting hardly any traffic. I had trimmed www.mysupplementstore.com of this low traffic content. I am working on www.bestpricenutrition.com still. I have been in this industry since 2003, survived 2012, but have exhausted everything I know to figure this out. It's another sob story I know, but trying to keep everyone's job alive here, but it doesn't look like it's going to happen. Any help would be greatly appreciated.
Intermediate & Advanced SEO | | vetofunk0 -
Using a lot of "Read More" Hidden text
My site has a LOT of "read more" and when a user click they will see a lot of text. "read more" is dark blue bold and clear to the user. It is the perfect for the user experience, since right below I have pictures and videos which is what most users want. Question: I expect few users will click "Read more" (however, some users will appreciate chance to read and learn more) and I wonder if search engines may think I am hiding text and this is a risky approach or simply discount the text as having zero value from an SEO perspective? Or, equally important: If the text was NOT hidden with a "Read more" would the text actually carry more SEO value than if it is hidden under a "read more" even though users will NOT read the text anyway? If yes, reason may be: when the text is not hidden, search engines cannot see that users are not reading it and the text carry more weight from an SEO perspective than pages where text is hidden under a "Read more" where users rarely click "read more".
Intermediate & Advanced SEO | | khi50 -
301 to trailing slash version then canonical
Hi Mozzers I'm just doing an audit for a client and see that all non-trailing-slash URLs are 301'd to trailing-slash URLS. So far so good. But then all the trailing-slash URLs are canonicalled back to the non-trailing-slash URLs. This feels wrong to me, but is it? Never come across this before. Should the canonicals just be removed? Any help much appreciated
Intermediate & Advanced SEO | | Chammy0 -
Quick Rel Canonical Link Juice Question
Let's say I have two duplicate pages, A and B. However, A has 5 external links and B has 3 _different _external links. If I add the rel canonical tag to B, so that A is the "master page" do I also lose whatever link juice was going to B from the 3 external links?
Intermediate & Advanced SEO | | KempRugeLawGroup0 -
Add or not add "nofollow" to duplicate internal links?
Hello everyone. I have searched on these forums for an answer to my concerns, and despite I found many discussions and questions about applying or not applying "nofollow" to internal links, I couldn't find an answer specific to my particular scenarios. Here is my first scenario: I have an e-commerce site selling digital sheet music, and on my category pages our products are shown typically with the following format: PRODUCT TITLE link that takes to product page Short description text "more info" link that takes to the same product page again As you may notice, the "more info" link takes at the very same page of the PRODUCT TITLE link. So, my question is: is there any benefit to "nofollow" the "more info" link to tell SEs to "ignore" that link? Or should I leave the way it is and let the SE figure it out? My biggest concern by leaving the "nofollow" out is that the "more info" generic and repetitive anchor text could dilute or "compete" with the keyword content of the PRODUCT TITLE anchor text.... but maybe that doesn't really matter! Here a typical category page from my site; http://www.virtualsheetmusic.com/downloads/Indici/Guitar.html My second scenario: on our product pages, we have several different links that take to the very same "preview page" of the product we sell. Each link has a different anchor text, and some other links are just images, all taking to the same page. Here are the anchor texts or ALT text of such same links: "Download Free Sample" (text link) "Cover of the [product title]" (ALT image text) "Look inside this title" (ALT image text) "[product title] PDF file" (ALT image text) "This item contains one high quality PDF sheet music file ready to download and print." (ALT image text) "PDF" (text link) "[product title] PDF file" (ALT image text) So, I have 7 links on the same product page taking the user to the same "product preview page" which is, by the way, canonicalized to the "main" product page we are talking about. Here is an example of product page on my site: http://www.virtualsheetmusic.com/score/Moonlight.html My instinct is to tell SEs to take into account just the links with the "[product title] PDF file" anchor text, and then add a "nofollow" to the other links... but may that hurting in some way? Is that irrelevant? Doesn't matter? How should I move? Just ignore this issue and let the SEs figure it out? Any thoughts are very welcome! Thank you in advance.
Intermediate & Advanced SEO | | fablau0 -
What our peoples list from from 1 to 10 the most important "on page" Factors
we are all at different stages in our SEO and all have different skills and experiences would like to see if people have the same list or similar with this question.
Intermediate & Advanced SEO | | ReSEOlve0 -
Where to point Rel = Canonical?
I have a client who is using the rel=canonical tag across their e-commerce site. Here is an example of how it is set up. URLs 1. http://www.beautybrands.com/category/makeup/face/bronzer.do?nType=22. http://www.beautybrands.com/category/makeup/face/bronzer.doThe canonical tag points to the second URL. Both pages are indexed by Google.The first page has a higher page authority (most of the internal site links go to the first URL) than the second one. Should the page with the highest authority be the one that the canonical tag points to? Is there a better way to handle these situations? Does any authority get passed through the tag?Thanks!
Intermediate & Advanced SEO | | AlightAnalytics0 -
Will Linking To "Offical Sites" Increase My SEO?
I own a movie trailer website. (Where you can watch movie trailers) Will having links on each page that are for "offical website" of each movie, increase my SEO?
Intermediate & Advanced SEO | | rhysmaster0