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!
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
-
We are redirecting http and non www versions of our website. Should all versions http (non www version and www version) and https (non www version) should just have 1 redirect to the https www version?
We are redirecting http and non www versions of our website. Should all versions http (non www version and www version) and https (non www version) should just have 1 redirect to the https www version? Thant way all forms of the website are pointing to one version?
Intermediate & Advanced SEO | | Caffeine_Marketing0 -
Should I switch from trailing slash to no trailing slash?
I have a website which has had trailing slashes added to the URLs by 301 redirects for over 3 years. However, the custom CMS does not allow navigation links to have trailing slashes. This is resulting in 301s every time a user clicks a navigation link. The site ranks fairy well for some moderately competitive keywords. If you were in my shoes, would you remove the forced trailing slash redirect in the .htaccess and replace it with a trailing slash removal redirect, or would you leave it like it is? Thanks,
Intermediate & Advanced SEO | | ICON_Malta
James p.s. the CMS also doesn't allow canonicals.0 -
How Important is Meta Description on Non-Entry Pages?
If a page is never used as an entry page to your website -- in other words it's an obscure, relatively unimportant page that never ranks high enough in the search engines to be in the first few pages of the search results for any significant number of searches -- does editing the META Description really have any significant benefit? I guess the question could also be phrased as, does the Google Search Algo factor in the META Description tag, or is it only used for display purposes on the search results and doesn't affect ranking?
Intermediate & Advanced SEO | | SeoJaz0 -
Should you automatically resolve URLs with extra trailing slashes added by accident?
Hi - I was just wondering whether a URL with extra trailing slashes should actuall redirect to the version without the extra trailing slashes... e.g. www.domainname.com/folder////// should automatically resolve to www.domainname.com/folder/ - what is your opinion on this?
Intermediate & Advanced SEO | | McTaggart0 -
Trailing Slashes for Magento CMS pages - 2 URLS - Duplicate content
Hello, Can anyone help me find a solution to Fixing and Creating Magento CMS pages to only use one URL and not two URLS? www.domain.com/testpage www.domain.com/testpage/ I found a previous article that applies to my issue, which is using htaccess to redirect request for pages in magento 301 redirect to slash URL from the non-slash URL. I dont understand the syntax fully in htaccess , but I used this code below. This code below fixed the CMS page redirection but caused issues on other pages, like all my categories and products with this error: "This webpage has a redirect loop ERR_TOO_MANY_REDIRECTS" Assuming you're running at domain root. Change to working directory if needed. RewriteBase / # www check If you're running in a subdirectory, then you'll need to add that in to the redirected url (http://www.mydomain.com/subdirectory/$1 RewriteCond %{HTTP_HOST} !^www. [NC]
Intermediate & Advanced SEO | | iamgreenminded
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L] Trailing slash check Don't fix direct file links RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(.)/$
RewriteRule ^(.)$ $1/ [L,R=301] Finally, forward everything to your front-controller (index.php) RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [QSA,L]0 -
Page title inconsistency
Hi folks, Our agency rebranded from New Brand Vision to Decibel Digital a few weeks ago. Most things seem to be fine, 301 redirected the site and our site looks much better however there is one issue. When searching for our responsive site using my Iphone5, the page title appears as "New Brand Vision", even though "New Brand Vision" isn't within the source code. Our page title is <title></span><span data-mce-mark="1">Creative Digital Agency in London | Decibel Digital </span><span class="html-tag" data-mce-mark="1"></title> which is picked up on Desktop, but not through mobile search when sourcing our responsive site. Does anyone have any suggestions? Many thanks!
Intermediate & Advanced SEO | | Tangent0 -
Links to www vs non-www
I was having speed issues when I ran a test under Google Page Speed test and, as a result, switched to using Google Page Speed Service. This meant I had to switch my site from the non-www to the www. Since the switch my page is running faster but my ranking has dropped. What I'm trying to find out is the drop due to all of my previous links going to the non-www or is it because of the site being considered new and is more of a temporary issue. If it is a link issue I will contact everyone I can to see who will update the site address. Thanks everyone!
Intermediate & Advanced SEO | | toddmatthewca0 -
Backlinking from a Canonical Page to the Non-Canonical Doman - Wrong Signals?
Hi Mozzers, Let's say you have www.mysite.com/page, which is a duplicate of www.yoursite.com/page. www.yousite.com/page has a rel canonical link identifying www.mysite.com/page as the original source. www.mysite.com/page has a followed backlink going towards www.yousite.com/home-page. mysite.com has a DA of 44
Intermediate & Advanced SEO | | Travis-W
yoursite.com has a DA of 33 Google has chosen to index www.yoursite.com/page instead of www.mysite.com/page. Is the followed backlink responsible for the wrong page being indexed? Thanks!0