The trailing-slash tag has no wiki summary.
7
votes
4answers
187 views
In terms of SEO, what is the difference between a URL with and without a trailing slash?
In terms of SEO, what's the difference between:
http://example.com/some-stuff/
and
http://example.com/some-stuff
I could not find anything useful regarding this concept, can you explain this?
7
votes
1answer
1k views
.htaccess redirect url without trailing slashes
In my htaccess I have some rewrited urls like these:
RewriteRule ^first-page$ /subdir/page.php?id_page=1 [QSA,L]
RewriteRule ^second-page$ /subdir/page.php?id_page=2 [QSA,L]
RewriteRule ^third-page$ ...
2
votes
1answer
885 views
Remove multiple trailing slashes in a single 301 in .htaccess?
There is a similar question here, but the solution does not work in Apache for our site.
I'm trying to remove multiple trailing slashes from URLs on our site. I found some .htaccess code that seems ...
5
votes
3answers
19k views
How to remove trailing slashes from URL with .htaccess?
The situation
Across the entire domain, we'd like the URLs to hide file extensions and remove trailing slashes, independent of the domain name itself (as in, works on any domain).
Sample of our ...
10
votes
4answers
594 views
What is the difference between a homepage link with or without a trailing slash?
What is the difference between these two URLs:
http://example.com/
http://example.com
Should we always add the final / or avoid it? Does it make a difference?
6
votes
3answers
306 views
Why treat these as URLs with different path capitalization and trailing slash as different?
These are all strictly different urls:
http://www.example.com/page
http://www.example.com/pAge
http://www.example.com/page/
http://www.example.com/paGE/
I get that it conforms to the strict ISO ...
1
vote
3answers
286 views
Url's with same content , but different: trailing slash and .html
I have a website with the following url:
http://www.site.com/folder/
But I also have the following url:
http://www.site.com/folder.html
Is this really bad for Google SEO ?