Trailing Slash and Non-Trailing Slash Inconsistency
-
Hi,
Majority of the URLs on the site I'm working on are using non-trailing slash,
https://example.com/page1
https://example.com/page2
https://example.com/page3But when it comes to the blog pages, they are using trailing slash:
https://example.com/blog/specific-blog-post1/
https://example.com/blog/specific-blog-post2/
https://example.com/blog/specific-blog-pos3t/Note that there is no duplication here since they have canonical tags.
My only concern is that:
Is it okay to have this kind of structure where the blog page have trailing slash while the rest are using non-trailing slash?Keen to hear from you guys.
Cheers!
-
Thank you very much, Serge!
-
Hi! To answer your question—that's totally fine, as long as the canonical tags are pointing to non-trailing on product URLs and trailing on blog URLs, this shouldn't be a big deal.
There are other things to consider like internal linking (and making sure that's consistent across the site) and possibly choosing one version (like trailing slash) and force redirecting the rest (to ensure things are clean when it comes to URLs).
But as far as the direct question goes, as long as your canonicals are set accurately for those sections it shouldn't be a problem.
Hope that 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
-
Old content with trailing `/` - What should be my new approach?
Dear team Moz, I'm investigating SEO issues for the site that dropped rankings over a period of 4-6 months; after conversion from old platform (xenForo) to new custom developed platform. The old version of the site was a simple xenForo based forum; with threads having standard url structure as like www.domain.com/threads/thread-title.{thread_id}/. Notice the trailing slash. We chose to keep the URLs intact during conversion to new platform; however the site still lost rankings. I'm sure there could be multiple reasons for it - but I wish to know if I should adjust the URLs - 1. By 301 redirecting all the URLs with trailing / to the URLs without /. 2. Leave the URLs as they were. I must also mention that the new site has several new sections; and the old forum is just one part of it. The rest of the site follows URLs without trailing / - as it's the recommended URL structure by Google. I'd really appreciate your suggestions on this.
Intermediate & Advanced SEO | | KaustubhKatdare0 -
Links to my site still showing in Webmaster Tools from a non-existent site
We owned 2 sites, with the pages on Site A all linking over to similar pages on Site B. We wanted to remove the links from Site A to Site B, so we redirected all the links on Site A to the homepage on Site A, and took Site A down completely. Unfortunately we are still seeing the links from Site A coming through on Google Webmaster Tools for Site B. Does anybody know what else we can do to remove these links?
Intermediate & Advanced SEO | | pedstores0 -
Does a non-canonical URL pass link juice?
Our site received a great link from URL A, which was syndicated to URL B. But URL B is canonicalized to URL A. Does the link on URL B pass juice to my site? (See image below for a visual representation of my question) zgbzqBy
Intermediate & Advanced SEO | | Choice1 -
"sex" in non-adult domain name
I have a client with a domain that has "sex" in the domain name. For example, electronicsexpo.com. The domain ranks for a few keywords related to the services offered. It is an old domain that has been online for over 10 years. It ranks well for local keywords. No real SEO effort has been made on this domain, so it is rather a clean slate. I am going to be doing SEO on this site. Will the fact that the word "sex" exists in the name have any sort of negative consequence. There is ABSOLUTELY NOTHING adult related or pornographic on this site. I would think that search engines are sophisticated enough to differentiate, but would potential customers with things like parental filters be blocked from viewing content? Is this hurtful in anyway? If so, would I be better off changing domain names? TIA
Intermediate & Advanced SEO | | inhouseseo0 -
Bingpreview/1.0b Useragent Using Adding Trailing Slash to all URLs
The Bingpreview crawler, which I think exists in order to take snapshots of mobile friendly pages, crawled my pages last night for the first time. However, it is adding a trailing slash to the end of each of my dynamic pages. The result is my program is giving the wrong page--my program is not expecting a trailing slash at the end of the urls. It was 160 pages, but I have thousands of pages it could do this to. I could try doing a mod rewrite but that seems like it should be unnecessary. ALL the other crawlers are crawling the proper urls. None of my hyperlinks have the slash on the end. I have written to Bing to tell them of the problem. Is anyone else having this issue? Any other suggestions for what to do? The user agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 BingPreview/1.0b
Intermediate & Advanced SEO | | friendoffood0 -
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 -
How to remove non-requested, non-desired backlinks
Dear Mosers, Before Penguin update we start a link back profile study about who and why are linking and we found hundred of garbage sites like these: http://rakeback-blogger.com/links/ http://personalinjuryattorney-fl.org/get-a-fl-personal-injury-attorney-instead-of-crying-over-spilt-milk and hundred more... They don't have contact form or email address, so what is the best way to remove our link from there (there are any quick way), these sites are damaging our rank. Thank you for your help Claudio
Intermediate & Advanced SEO | | SharewarePros0 -
Non www has 110 links the www has 5 - rankings have gone
A site I'm working on resolves on the non www address and has 100+ links pointing at this address, last month it started to rank and had various phases within the top 50, this month it's totally gone from the search results. The www has 5 links. My questions Which is best? Www or non How do you fix it? Any reason why the rankings have disappeared!? It's a word press site domainname.co.uk = 100+ links www.domainname.co.uk = 5 links
Intermediate & Advanced SEO | | therealmarkhall0