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://mza.seotoolninja.com/blog/state-of-searcher-behavior-revealed/](https://mza.seotoolninja.com/blog/state-of-searcher-behavior-revealed/) redirected to: [https://mza.seotoolninja.com/blog/state-of-searcher-behavior-revealed](https://mza.seotoolninja.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.
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
-
Without slash URLs not redirected with slash URLs; but canonicalised: Any potential harm at Google?
Hi friends, Our website pages without slash are not redirecting to with slash and vice-versa. Both the versions are returning 200 response code. Both the versions are pointed to with slash URLs with rel-canonical tags. Is this right setup? Or we need to redirect one another to slash or without slash versions? Thanks
Algorithm Updates | | vtmoz0 -
Link reclamation and many 301 redirect to one URL
We have many incoming links to a non existing pages of a sub-domain, which we are planning to take down or redirect to a sub-directory. But we are not ready to loose pagerank or link juice as many links of this sub-domain are referred from different external links. It's going to be double redirect obviously. What is the best thing we can go to reclaim these links without loss of link juice or PR? Can we redirect all these links to same sub-domain and redirect the same sub-domain to sub-directory? Will this double redirect works? Or Can we redirect all these links to same sub-domain and ask visitors to visit sub-directory, manual redirection? How fair to manually redirect visitors? Any other options? Thanks, Satish
Algorithm Updates | | vtmoz0 -
Duplicate pages in language versions, noindex in sitemap and canonical URLs in sitemap?
Hi SEO experts! We are currently in the midst of reducing our amount of duplicate titles in order to optimize our SEO efforts. A lot of the "duplicate titles" come from having several language versions of our site. Therefore, I am wondering: 1. If we start using "" to make Google (and others) aware of alternative language versions of a given site/URL, how big a problem will "duplicate titles" then be across our domains/site versions? 2. Is it a problem that we in our sitemap include (many) URL's to pages that are marked with noindex? 3. Are there any problems with having a sitemap that includes pages that includes canonical URL's to other pages? Thanks in advance!
Algorithm Updates | | TradingFloor.com0 -
Is having an identical title, h1 and url considered "over optimization"? Is it better to vary?
To get some new pages out without over-thinking things, I decided to line up the title tag, h1 tag and URLs of my pages exactly. They are dynamically generated based on the content the user is viewing (internal search results pages) They're not ranking very well at the moment, but there are a number of factors that are likely to blame. But, in particular, does anyone know if varying the text in these elements tends to perform better vs. having them all identical? Has there been any information from Google about this? Most if not all of the "over optimization" content I have seen online pertains to backlinks, not on-page content. It's easy to say, "test it!" And of course, that's just what I'm planning to do. But I thought I would leverage the combined knowledge of this forum to see what information I could obtain first, so I can do some informed testing, as tests can take a while to see results. Thanks 🙂
Algorithm Updates | | ntcma0 -
Google is forcing a 301 by truncating our URLs
Just recently we noticed that google has indexed truncated urls for many of our pages that get 301'd to the correct page. For example, we have:
Algorithm Updates | | mmac
http://www.eventective.com/USA/Massachusetts/Bedford/107/Doubletree-Hotel-Boston-Bedford-Glen.html as the url linked everywhere and that's the only version of that page that we use. Google somehow figured out that it would still go to the right place via 301 if they removed the html filename from the end, so they indexed just: http://www.eventective.com/USA/Massachusetts/Bedford/107/ The 301 is not new. It used to 404, but (probably 5 years ago) we saw a few links come in with the html file missing on similar urls so we decided to 301 them instead thinking it would be helpful. We've preferred the longer version because it has the name in it and users that pay attention to the url can feel more confident they are going to the right place. We've always used the full (longer) url and google used to index them all that way, but just recently we noticed about 1/2 of our urls have been converted to the shorter version in the SERPs. These shortened urls take the user to the right page via 301, so it isn't a case of the user landing in the wrong place, but over 100,000 301s may not be so good. You can look at: site:www.eventective.com/usa/massachusetts/bedford/ and you'll noticed all of the urls to businesses at the top of the listings go to the truncated version, but toward the bottom they have the full url. Can you explain to me why google would index a page that is 301'd to the right page and has been for years? I have a lot of thoughts on why they would do this and even more ideas on how we could build our urls better, but I'd really like to hear from some people that aren't quite as close to it as I am. One small detail that shouldn't affect this, but I'll mention it anyway, is that we have a mobile site with the same url pattern. http://m.eventective.com/USA/Massachusetts/Bedford/107/Doubletree-Hotel-Boston-Bedford-Glen.html We did not have the proper 301 in place on the m. site until the end of last week. I'm pretty sure it will be asked, so I'll also mention we have the rel=alternate/canonical set up between the www and m sites. I'm also interested in any thoughts on how this may affect rankings since we seem to have been hit by something toward the end of last week. Don't hesitate to mention anything else you see that may have triggered whatever may have hit us. Thank you,
Michael0 -
Significant Drop in Rankings without Explanation
My company has experienced a significant drop in rankings in the last month or so. How significant? Across our top 11 keywords, we've dropped an average of 6 positions. Some have dropped less (1 or 2) and some have dropped way more (38). We work really hard to provide great content on our site and have been building out our link profile with guest blogging on relevant sites (dailyshotofcoffee.com, for example). No major changes have been made to the URL structure or content on the pages that are ranking for our key terms, so I am not sure where the drop is coming from. For example: One of our key terms is "espresso machine" and we went from #9 to #22 in the last few weeks. We have not made any changes to the main content on the page that is ranking since September. Our on-site page report for this page has us nailing all of the critical factors, most of the high importance factors (not exact keyword in page titles - we use "espresso machines" as that is one of our other terms - or "avoid keyword stuffing" - unfortunately, our products are also named with "espresso machine" and i can't very well not follow those links or remove the term from their names), all of the moderate importance factors, and most of the low importance factors. It has been reporting this way since September. Most of our key terms are this way (haven't had content changed in the last several weeks to months and have great on-page grades). We don't engage in spammy link building (though I did some work this fall on cleaning up bad links a previous SEO company had built out). I'm just really taken aback by the sudden drop in rankings across the board. Any insight or advice anyone can give me would be greatly appreciated!
Algorithm Updates | | Marketing.SCG1 -
Choosing domain name - ccTLD vs Vanity URL
I have to choose between a country specific domain name that is long and difficult to remember, vs or a .me domain which is short and contains the exact keywords I'm optimising for. The challenge is that I'm only targeting local search traffic for the service I am advertising. Does a country specific domain name have any benefits in terms of weighting when I'm only interested in traffic from that country?
Algorithm Updates | | flashie0 -
URL SEO
Hi All I am completely new to SEO and I have a question about URL's which I would like advise on. We are about to launch an immigration consultancy website which caters for several countries. For the example below we are targeting the keyword "UK Visit Visa", which URL would be better from an SEO prospective? 1. www.example.com/uk/visit-visa
Algorithm Updates | | Fuad_YK
2. www.example.com/uk/uk-visit-visa Thanks, Fuad0