The tag has no wiki summary.

learn more… | top users | synonyms (1)

6
votes
2answers
76 views

Why do some domains have a '/' at the end of the home page URL? [duplicate]

I am wondering why some websites have a / at the end of their URL, but others don't. For example: www.google.com/ but then www.khanacademy.org (No /)
1
vote
1answer
22 views

Using htaccess to internally and externally redirect a page at the same time [duplicate]

I've been trying to figure this out for two hours, and I give up. I want to externally redirect about.php to about/, and also have about/ internally redirect to about.php RewriteRule ^about/$ ...
7
votes
4answers
242 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
997 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 ...
10
votes
1answer
1k views

Canonical URL for a home page and trailing slashes

My home page could be potentially linked as: http://example.com http://example.com/ http://example.com/?ref=1 http://example.com/index.html http://example.com/index.html?ref=2 (the same page is ...
5
votes
3answers
20k 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
607 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
313 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
287 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 ?
26
votes
2answers
4k views

Does it make a difference if your URL ends in a trailing slash or not?

Does it make any difference to SEO ratings what-so-ever if your url has a trailing slash: http://www.example.com/some/slug/paths/ as opposed to one that does not: ...