Should one end URLs with or without a slash?
-
Moz, I am noticing that I need to go back and update my outbound links to your site. There are a lot of them because your content is so great and we love you guys.
Could you explain your logic for making the change?
Example on my Valid JSON-LD image sizes page:
[https://moz.com/blog/state-of-searcher-behavior-revealed/](https://moz.com/blog/state-of-searcher-behavior-revealed/) redirected to: [https://moz.com/blog/state-of-searcher-behavior-revealed](https://moz.com/blog/state-of-searcher-behavior-revealed)
-
Thanks, James Wolff. I appreciate your suggestion and will do so.
It is interesting that many have commented here:
Add Trailing Slash to the End of the URL with .htaccess Rewrite Rules
"The URL for a "page" should NOT end with a trailing slash. URL ending in trailing slash denotes a folder or the index page of a folder."
My issue is not that it fails to redirect; it is that I have too many redirects in the process.
-
Hi James and Churchhill1 - I appreciate your answers and perspective.
My question is especially directed to Moz staff. Why would Moz choose to make the change?
I am also curious because I am facing AMP redirect loops that I need to solve.
Perhaps Moz's answer or someone will have insights on how do I avoid such unnecessary 301 redirects?
- https://www.hillwebcreations.com is redirected to
- https://www.hillwebcreations.com/amp which is redirected to
- https://www.hillwebcreations.com/amp/
I am wondering if this plays somehow into Moz's decision to change their AMP URL endings.
-
I agree with James there is no benefit of doing that. Invest your time for something that adds real value to the client/company / your project. You should have in fact a rule set in htaccess if you are on apache stating that you want all the links with the slash or without. For external links just use search and replace function.
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
-
Is this spamming keywords into a url?
My company has previously added on extensions to a url like the example below http://www.test.com/product-name/extra-keywords My question is since there is no difference between the pages http://www.test.com/product-name and http://www.test.com/product-name/extra-keywords and you don't leave the product page to reach the extra-keyword page is this really necessary? I feel like this is probably not a best practice. Thanks for any suggestions.
Algorithm Updates | | Sika220 -
Check canonicalization work implemented on URL
Hi I was wondering how to check canonicalization when it's not working properly - I am getting redirect from http://www to www but not from non www version to www version of URL) - so, how do I check the type of redirect in place already in the URL? Is there a tool for testing this? Thanks, Luke
Algorithm Updates | | McTaggart0 -
Organic Traffic dropped 50%. Anyone want to have a stab at why? (URL listed)
Just curious what the pro's on here think is the reason why our site got hammered recently. The URL is www.jobshadow.com. We've got gobs of quality content that had been ranking for quite a few keywords. Even one from Rand himself http://www.jobshadow.com/interview-with-seo-and-seomoz-founder-rand-fishkin/ Rankings for even the exact match domain keyword 'Job Shadow' have been pummeled. Anyway, we've got a pretty solid link profile I would think. We also have a very high user time on the site, thus suggesting the organic traffic was engaged when Google ranked us for those keywords. We have lots of unsolicited inbound links and even recent ones from PBS. I'm not really sure what it takes to please the "machine" at this point. Curious as to what everyone here thinks.
Algorithm Updates | | arkana0 -
How can I use Intuit without getting duplicate content issues
All of my Intuit site show duplicate content on the index pages. How can I avoid this
Algorithm Updates | | onestrohm0 -
Has anyone seen this before? One domain dominates the entire first page!
Do a google search for "sober college" and tell me you don't see the entire page filled with one domain. (except the last result)
Algorithm Updates | | EmarketedTeam0 -
Not sure whether to update existing page or create a new one
Hello guys, So far I have found this Q&A to be very helpful. I have a couple of product pages on my website which rank very low in the search results. This was because in the past they were not at all optimized in terms of title, description, etc. I would like to now optimize these pages, get some inbound links to them, etc. I'm not sure whether to do this with the existing product pages or create new ones. I'm afraid that if I optimize the current pages, the low ranking from before will carry over. Would it be better to start fresh? Thank you, Pravin
Algorithm Updates | | goforgreen0 -
Why does Google say they have more URLs indexed for my site than they really do?
When I do a site search with Google (i.e. site:www.mysite.com), Google reports "About 7,500 results" -- but when I click through to the end of the results and choose to include omitted results, Google really has only 210 results for my site. I had an issue months back with a large # of URLs being indexed because of query strings and some other non-optimized technicalities - at that time I could see that Google really had indexed all of those URLs - but I've since implemented canonical URLs and fixed most (if not all) of my technical issues in order to get our index count down. At first I thought it would just be a matter of time for them to reconcile this, perhaps they were looking at cached data or something, but it's been months and the "About 7,500 results" just won't change even though the actual pages indexed keeps dropping! Does anyone know why Google would be still reporting a high index count, which doesn't actually reflect what is currently indexed? Thanks!
Algorithm Updates | | CassisGroup0 -
Strange Refferral URL coming in from Google
Hi, I've been monitoring my referral URL's coming in and today noticed they had changed. Previously when I clicked one it would be the google search result page - however now they all seem to be like this: http://www.google.co.uk/url?sa=t&source=web&cd=7&sqi=2&ved=0CHEQFjAG&url=http://www.mysite.com&rct=j&q=my%20keyword&ei=Bvc3TrbgB5G0hAfvqoSvAg&usg=AFQjCNFONDCPJDl3d2PYceYvale_cL7s4Q All these URL's immediately redirect to my website pages. Do you know what they are - they seem to be tracking URL's of some sort I am thinking?? Are they trying to analyse my site with respect to certain keywords?? Thanks
Algorithm Updates | | James770