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
-
Non-optimised pages ranking higher than optimised homepage
I'm a developer working with a dating site and we're having what appear to be unusual ranking behaviour for the keyword "Ukraine Brides". When searching for "Ukraine Brides" we typically have the top 3 results in Google, however the homepage is almost never ranked #1. Other non-optimised pages appear ahead of it. I believe this is having a negative affect on our conversion rate, so wish to see this resolved. For instance, if you search here in NZ, the results are typically: Login page (/account/login) Search page (/search) Home page (/) Similar situation when searching in the US, but typically the top result is the search page. Is this unusual? We've spent quite a bit of time optimising the homepage, it has more external links, more internal links, better content that targets the keyword, more traffic, etc. Even so, the login and search pages appear higher. A side note, the average CTR for "Ukraine Brides" is significantly lower than "Ukraine Brides Agency" (20% vs 80% respectively), so I don't think that it's purely a 'brand keyword'. A few thoughts were: The search page is not accessible from the homepage unless you are logged in. Maybe this is causing some sort of linking/seo/ranking issue? Re: the login page being higher, perhaps many existing users visit the login page directly from this keyword in order to login straight away so Google pushes this to the top. I think this is less likely because most existing users will be logged in automatically (via cookies "remember me") and the homepage has a login form in anycase The site supports multiple languages. Maybe this is causing some canonical issues? There was an additional suggestion that we should noindex the login and search pages in order to resolve this ranking issue, but were nervous that we'd lose a large amount of organic clicks if we did this. Google must be doing this for a reason, so we wanted to resolve that underlying reason before dropping the noindex hammer. The fear is of course that we've done something wrong with our homepage which is causing it to perform poorly and thus these other pages rank higher. The hope would be that if we fixed that, that our rank for other keywords would improve also. It would be great if we could get some more eyes on this to hopefully confirm we're not doing anything silly, and are just generally after a second opinion.
Intermediate & Advanced SEO | | andrew_uba0 -
Best practice to 301 NON-WWW pages?
Hi Guys, Have a site which has 302 redirects installed for pages like: https://domain.com.au/ to https://www.domain.com.au/ (302 redirect) Is it worth changing the redirect to a 301? This is a large site, like 10,000 pages. Also does anyone know how can this be done via Magento? Cheers
Intermediate & Advanced SEO | | bridhard80 -
How long for a Disavow file to take affect for a non-manual penalty?
Hi guys, hope you're all good, quick question in regards to a Disavow file. A page of ours recently crashed from page 2 all the way to page 7ish. It's weird that it happened considering it was ranking on the 2nd page for around a year, then all of a sudden it came crashing down. I identified an affiliate link which was placed in a sidebar, webmaster tools picked up 24,000+ links coming from the site so I have decided to disavow it. I disavowed the site around 3 days ago, and in the mean time we have managed to grab ourselves some very good do-follow links from very authoritative sites. At the moment the page has gone up 1 page, sitting at 4-5th page, but the rankings have been very inconsistent. Any ideas to when we may see an increase in ranking for this page? I am being very impatient, at the moment my workload has been dedicated to get this one page ranking again. All comments greatly appreciated.
Intermediate & Advanced SEO | | Brett-S0 -
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 -
If parent domain is www, does it matter if subdomain on a different server is non-www?
If you have a main website (www.example.com) with a subdomain of the website (service.example.com) that lives on a separate server with a separate IP address, is there an SEO benefit/advantage to have having the www included in the url since the parent url includes the www? Assume: 1. Applicable 301 redirects are in place on both sites 2. No duplicate content issues Additionally, would your answer be different if the site is a .gov or .edu site vs. a .com?
Intermediate & Advanced SEO | | SEOteamfl0 -
End of March we migrated our site over to HubSpot. We went from page 3 on Google to non existent. Still found on page 2 of Yahoo and Bing. Beyond frustrated...HELP PLEASE "www.vortexpartswashers.com"
End of March we migrated our site over to HubSpot. We went from page 3 on Google to non existent. Still found on page 2 of Yahoo and Bing under same keywords " parts washers" Beyond frustrated...HELP PLEASE "www.vortexpartswashers.com"
Intermediate & Advanced SEO | | mhart0 -
Our site is recieving traffic for both .com/page and .com/page/ with the trailing slash.
Our site is recieving traffic for both .com/page and .com/page/ with the trailing slash. Should we rewrite to just the trailing slash or without because of duplicates. The other question is, if we do a rewrite, google has indexed some pages with the slash and some without - i am assuming we will lose rank for one of them once we do the rewrite, correct?
Intermediate & Advanced SEO | | Profero0 -
Impact of Non-English target keywords in URL
Hi all, our site language is Farsi (Persian) so at first we tried to create URLs that contain our target keywords in Farsi too. The problem with this approach is that our URLs are not shown in a friendly style anymore: a bunch of unicode numeric codes instead of Farsi characters. Do you know which is the best approach? 1. Creating ugly looking URLs containing Farsi keywords 2. Forget about putting our keywords in URLs and have nice English URLs Thanks in advance for your time and help 🙂
Intermediate & Advanced SEO | | diki0