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
-
I have implemented rel = "next" and rel = "prev" but google console is picking up pages as being duplicate. Can anyone tell me what is going on?
I have implemented rel="next" and rel = "prev" across our site but google console is picking it up as duplications. Also individual pages show up in search result too. Here is an example linkhttp://www.empowher.com/mental-health/content/sizeismweightism-how-cope-it-and-how-it-affects-mental-healthhttp://www.empowher.com/mental-health/content/sizeismweightism-how-cope-it-and-how-it-affects-mental-health?page=0,3The second link shows up as duplicate. What can i do to fix this issue?
Intermediate & Advanced SEO | | akih0 -
Should we go after this main keyword?
Hello, We run an online store. The main content keyword for our niche is very competitive, but if I was going to go look up information and I was one of our customers, that is exactly what I would type in - this main general keyword. We have an expert in the field to write it and plenty of time. Although the main keyword is competitive, there are many many subkeywords that are a lot less competitive that would be answered in the article. It's tough to find good topics in this niche. We're thinking about doing a "Complete Guide to X". We would have far less backlinks and authority for about half of the 30 keywords it will cover than our main competitors. Should we do this and spend the next couple of years working on it, or should we perhaps target a smaller topic? Any advice is appreciated.
Intermediate & Advanced SEO | | BobGW0 -
HTTPS sitewide move has resulted in huge rankings drop...
Hi all, An e-commerce site has recently moved protocol to https sitewide. The site ranked page one for some great terms and now appear to be page 2 or below. Brand terms seem unphased and are still very strong, on both Google and Bing. The following has been done; Everything 301'd from http to https Sitemap Edited Updated Webmaster Tools Robots.txt edited Crawled and Fetched all pages daily. Checked Paged are all follow,index. PPC Ads mass updated to new url's. Most terms were ranked 1 - 9 on Bing, and Page 1/2 on Google. HTTPS upgrade was done less than one week ago. The site is not payday loan related, nor was it hit by latest panda escapades. Everything on the site is relevant to the content. Has anybody else been in this position, what else can be done? I'd appreciate any help and advice. Thank You K9gB7hz
Intermediate & Advanced SEO | | Whittie0 -
Going after multiple similar keywords, which is the better approach?
Let's say I have a page targeting a keyword, "New York Restaurants". There are also several "very close" variations of this keyword which I could also target. Here are the volume estimates: New York Restaurants - 100
Intermediate & Advanced SEO | | jcgoodrich
Restaurants New York - 40
Best Restaurants New York - 30
Best Restaurants in New York - 20
etc. Given this, which of the following is the better overall approach? A) Have one page and work all of these keywords so the page targets all of them. For example here try to weave in "Best" in different ways. B) Have multiple pages and use 301 redirects. Create one page only targeted at "New York Restaurants" and then create additional pages with the other terms in the URL and Headline, which 301 redirect to my "New York Restaurants" page. This is similar to how wikipedia does redirects, for example "Bourne 2" 301 redirects to "Bourne Supremacy". Thanks! | New York Restaurants | 12,100 | Medium | $0.93 | 0% | ACCOUNT |
| Restaurants New York | 2,900 | Medium | $1.00 | 0% | ACCOUNT |
| Best Restaurants in New York | 3,600 | Low | $0.69 | 0% | ACCOUNT |
| Best New York Restaurants | 2,400 | Low | $0.80 | 0% | ACCOUNT |
| New York's Best Restaurants | 260 | Low | $0.76 | 0% |0 -
Why Did My Site Go Limp On Me?
One of my clients was once in the #1 position for "Philadelphia interior designer" and other related terms, but her site has dropped significantly. Still it is on the first page, but far from its former glory. http://www.interiorsbydonnahoffman.com is the site. What really confuses me is why in her home turf search of "Bucks County Interior Designer" a competitor, http://www.miriamansellinteriors.com, is above her in the SERPS. According to OSE her competitor has a PA of 32 vs my client's 39. My client has 35 Linking Root Domains (and some of high quality) compared to just 11 for the competition. In all aspects her competitor looks weaker and less relevant to me. Her site has been weak in the SERPs since May/June. We are redesigning her site- she has a high bounce rate compared to my other interior design clients, something like 55%. Any insights from y'all?
Intermediate & Advanced SEO | | dfhytrwy0 -
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 -
Is it possible for one man to go against industry leaders in serps?
Hi, Is it possible for an individual to go against the big boys in a industry sector? Lets say flowers in the UK, all the massive flower companies go for 2 keywords: 'flowers delivered' (30,000 ems) and 'flowers by post' (30,000 ems) Would it be possible to start a new site and within 6 months (July) be up in the top 5? Scrap any exact match domains as there gone, I'm talking about creating a brand such as flowerpower.co.uk picking a term and going for it. Is this possible?
Intermediate & Advanced SEO | | activitysuper0 -
Question about 301 redirect for trailing / ?
I am cleaning up a fairly large site. Some pages have a trailing slash on the end some don't. Some of the existing backlinks built used a trailing slash in the url and some didn't. We aren't concerned with picking a particular one but just want to get one set and stick to it from now on. I am wondering, would I clean this up within the same redirect in the htaccess file that takes care of the www and non www? example RewriteEngine On
Intermediate & Advanced SEO | | PEnterprises
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] I currently use that to redirect the www. to the non www as you can see. However here is what I was confused about. Would this code be enough to redirect ALL pages with a / to the ones without? or would I also need to add another code (so there is 2) to my htaccess like below? RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] That way, now, even the non www pages with a trailing slash will redirect to the non www without the trailing slash. Hopefully you understand what I am getting at. I just want to redirect EVERYTHING to the non www WITHOUT a / Thank you Jake0