The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
2answers
29 views

301 or canonical for URLs with a '/'?

Is it better to use 301 redirects to URLs with a trailing / to a URL without a trailing / or is it better to canonicalise one version?
1
vote
1answer
27 views

How to remove a slash with .htaccess

I have a problem, when I'm on the homepage and want to go to a page, it says this: continenten/.html on this server How can I remove the / so it's continenten.html and not continenten/.html? ...
6
votes
2answers
109 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
331 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
1k 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
2k 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$ ...
3
votes
2answers
1k 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
25k 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
680 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
352 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
299 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 ?
30
votes
4answers
6k views

Does it make a difference if your URL path 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: ...