To slash or not to slash - Going from no trailing slashes to trailing slashes sitewide
-
A friend has a large site and his dev team are about to launch with the sitewide addition of trailing slashes on urls, which are not on the original site. Both versions of the url work e.g. /example and /example/ and the dev team is reluctant to change back as it will take 3 days (developers hey?)
My SEO mind tells me this is a bad thing. Yes you could:
-
301 from non slash to slash but sitewide I don't like the idea because of the small loss in link juice x lots of pages.
-
You could canonical from non slash to slash but the non slash is the original and canonicals are supposed to point to the original version of the content.
-
Any thoughts appreciated
-
Couldn't the devs use the htaccess file to force the / version to the non / version?
-
-
That seems like too much work. I would do this instead:
- Add rel=canonical on the non-/ version
- Use htaccess to force the non-/ version
- And update the sitemaps
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
-
Do I have to go off page to establish an entity?
So I have always thought of Google establishing an Entity (by entity I mean https://goo.gl/RP8e9B) by looking at the markup on a website. Recently watched a video that discussed creating an entity by using external websites. I have a feeling that you do not have to go off of the main website to have an entity created. Is there anything valid in this concept/video? (https://goo.gl/CNe7qD) The concept focuses on creating branded pages on properties owned by Google and various other well known websites. My main concern is whether this is something I should do for our website or if just doing the little bit of social marketing we are doing is fine.
Intermediate & Advanced SEO | | marghutch1 -
Duplicate content on URL trailing slash
Hello, Some time ago, we accidentally made changes to our site which modified the way urls in links are generated. At once, trailing slashes were added to many urls (only in links). Links that used to send to
Intermediate & Advanced SEO | | yacpro13
example.com/webpage.html Were now linking to
example.com/webpage.html/ Urls in the xml sitemap remained unchanged (no trailing slash). We started noticing duplicate content (because our site renders the same page with or without the trailing shash). We corrected the problematic php url function so that now, all links on the site link to a url without trailing slash. However, Google had time to index these pages. Is implementing 301 redirects required in this case?1 -
Should Schema.org Tags go on every page?
Happy Monday Moz World! I am just wondering what are some best practices when using Schema.org Tags. For Example, I have a client who provides multiple services and provides unique content on each webpage. The design of each of the webpagesare unique, and conveys information differently. My question is: If each page of a company's website has unique content that describes a service or product, could I essentially change the url & description of the Schema Tag so that each of my pages are indexable by relationship to that page's content? Thanks ahead of time for the great responses! B/R Will
Intermediate & Advanced SEO | | MarketingChimp100 -
Magento Trailing Slash URL Problem
Howdy Mozzers! Our magento store URL's are accessible with or without a trailing slash at the end. Canonical's and 301 redirects are not set up for one of them at the moment. Will this cause duplicate issue? Do we need to set canonical or 301 up? Which one is recommended? MozAddict
Intermediate & Advanced SEO | | MozAddict0 -
Sitewide rel author for rich snippets a disaster waiting to happen?
Hi, I've been looking at how various sites handle rel author tags linking to Google+ accounts to get rich snippets results. I've found more than a few that have the same code on every page, even though those actual pages clearly have different authors and some may not even mention the rel author's name. A site I'm working on has different authors for different pages. Although the convenience of putting the same rel author on every page seems dreamy, it also seems like a disaster waiting to happen, since it would appear to be trickery about who the author is and possibly one Google update away from disaster. Can you call a site owner or employee an author on pages that to the reader appear to be written by others? Am I being too cautious or what? Thanks! Cheers... Darcy
Intermediate & Advanced SEO | | 945011 -
Where does Schema.org Microdata go on a page?
Say you've got a Magento e-commerce site and you want to add Schema.org Microdata to it to take advantage of Google's Rich Snippets feature. Would the markup be part of the page's HTML TITLE . . . or somewhere in the bare-bones description (usually wrought by inputting data into separate fields in the CMS), e.g., Item: Something
Intermediate & Advanced SEO | | RScime25
Price: $00.00
Short Description: blah, blah, blah Or, hidden somewhere in the header? Or, can it be marked-up somewhere beneath my lengthy (and Panda-friendly) content and subsequently extracted by Google and highlighted in the SERPs? Admittedly, I'm more than a bit late to the Schema.org party and I'm a content-guy anyway; and not much good at under-the-hood stuff. I figure I'd better get my chops together, now. I've searched Moz.com's Q&A as well as Google's and Schema.org's and haven't come up with an answer yet that doesn't require that I learn a whole new vocabulary.0 -
What would cause all main pages to go from various PR1 PR2 PR3 to PR Unranked?
Weird, my rankings have fallen on one of my sites and all the main pages that were ranking are now PR unranked. We did ad some domains to a disavow file, but nothing major that should have had an impact like this. Pages are all allowed to be indexed and not blocked and are currently indexed in Google. Can Google just come around and decide they don't like these pages anymore and PR unrank them all?
Intermediate & Advanced SEO | | irvingw0 -
Some badges will be sitewide, is that OK
Hello, We are making badges to hand out to our alumni. Some of these links backs are probably going to be sitewide. Is this tactic still good with respect to the recent G updates? Thanks
Intermediate & Advanced SEO | | BobGW0