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
-
HELP: Why do I have a 61% score for "% of total links, external + follow"?
Firstly, I understand what this percentage is. It's the ratio of external links that are "follow" -> compared to the links that are "no-follow". Four questions: This is definitely not accurate! I have loads of no-follow links Does anyone have ideas or techniques to add more healthy no-follow links? Am I completely misunderstanding this? Will this high score negatively affect my ranking? I could definitely use some help. Thanks so much in advance. I don't think my website address should help, but if you need it for context, it's estatediamondjewely.com.
Intermediate & Advanced SEO | | SamCitron0 -
Best way to "Prune" bad content from large sites?
I am in process of pruning my sites for low quality/thin content. The issue is that I have multiple sites with 40k + pages and need a more efficient way of finding the low quality content than looking at each page individually. Is there an ideal way to find the pages that are worth no indexing that will speed up the process but not potentially harm any valuable pages? Current plan of action is to pull data from analytics and if the url hasn't brought any traffic in the last 12 months then it is safe to assume it is a page that is not beneficial to the site. My concern is that some of these pages might have links pointing to them and I want to make sure we don't lose that link juice. But, assuming we just no index the pages we should still have the authority pass along...and in theory, the pages that haven't brought any traffic to the site in a year probably don't have much authority to begin with. Recommendations on best way to prune content on sites with hundreds of thousands of pages efficiently? Also, is there a benefit to no indexing the pages vs deleting them? What is the preferred method, and why?
Intermediate & Advanced SEO | | atomiconline0 -
Ranking drop for "Mobile" devices category in Google webmaster tools
Hi, Our rank dropped and we noticed it's a major drop in "Mobile" devices category, which is contributing to the overall drop. What exactly drops mobile rankings? We do not have any messages in search console. We have made few redirects and removed footer links. How these affect? Thanks,
Intermediate & Advanced SEO | | vtmoz
Satish0 -
Pages are being dropped from index after a few days - AngularJS site serving "_escaped_fragment_"
My URL is: https://plentific.com/ Hi guys, About us: We are running an AngularJS SPA for property search.
Intermediate & Advanced SEO | | emre.kazan
Being an SPA and an entirely JavaScript application has proven to be an SEO nightmare, as you can imagine.
We are currently implementing the approach and serving an "escaped_fragment" version using PhantomJS.
Unfortunately, pre-rendering of the pages takes some time and even worse, on separate occasions the pre-rendering fails and the page appears to be empty. The problem: When I manually submit pages to Google, using the Fetch as Google tool, they get indexed and actually rank quite well for a few days and after that they just get dropped from the index.
Not getting lower in the rankings but totally dropped.
Even the Google cache returns a 404. The question: 1.) Could this be because of the whole serving an "escaped_fragment" version to the bots? (have in mind it is identical to the user visible one)? or 2.) Could this be because we are using an API to get our results leads to be considered "duplicate content" and that's why? And shouldn't this just result in lowering the SERP position instead of a drop? and 3.) Could this be a technical problem with us serving the content, or just Google does not trust sites served this way? Thank you very much! Pavel Velinov
SEO at Plentific.com1 -
"noindex, follow" or "robots.txt" for thin content pages
Does anyone have any testing evidence what is better to use for pages with thin content, yet important pages to keep on a website? I am referring to content shared across multiple websites (such as e-commerce, real estate etc). Imagine a website with 300 high quality pages indexed and 5,000 thin product type pages, which are pages that would not generate relevant search traffic. Question goes: Does the interlinking value achieved by "noindex, follow" outweigh the negative of Google having to crawl all those "noindex" pages? With robots.txt one has Google's crawling focus on just the important pages that are indexed and that may give ranking a boost. Any experiments with insight to this would be great. I do get the story about "make the pages unique", "get customer reviews and comments" etc....but the above question is the important question here.
Intermediate & Advanced SEO | | khi50 -
"Jump to" Links in Google, how do you get them?
I have just seen yoast.com results in Google and noticed that nearly all the indexed pages show a "Jump to" link So instead of showing the full URL under the title tag, it shows these type of links yoast.com › SEO
Intermediate & Advanced SEO | | JohnPeters
yoast.com › Social Media
yoast.com › Analytics With the SEO, Social Media and Analytics all being clickable. How has he achieved this? And is it something to try and incorporate in my sites?0 -
Any penalty for having rel=canonical tags on every page?
For some reason every webpage of our website (www.nathosp.com) has a rel=canonical tag. I'm not sure why the previous SEO manager did this, but we don't have any duplicate content that would require a canonical tag. Should I remove these tags? And if so, what's the advantage - or disadvantage of leaving them in place? Thank you in advance for your help. -Josh Fulfer
Intermediate & Advanced SEO | | mhans1 -
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