: Does using spaces in a URL affect SEO? When creating URLs for my website I need to use a space, for example http://mydomain.com/start home I've seen some sites using + or -, what are the
When creating URLs for my website I need to use a space, for example mydomain.com/start home
I've seen some sites using + or -, what are the advantages of using space, + and - (dashes) in SEO?
What is better to use for URL formatting? Should I use mydomain.com/start-home or mydomain.com/start+home?
More posts by @Courtney195
4 Comments
Sorted by latest first Latest Oldest Best
In the path part of the URL...
space - An unencoded space is simply not allowed in a URL. It must be percent encoded as %20. You should really do this yourself (explicitly) server-side if required. However, modern browsers implicitly do this for you. Whilst this shouldn't directly affect SEO (after all the word separating space is clearly in the URL), it is not good for useability as @Josh2012 states. So this could affect SEO indirectly. (If it's bad for the user; it's bad for SEO.)
+ - The plus is treated as a literal character in the path part of the URL. (However, it is an encoded space in the querystring part of the URL - which can lead to some confusion.) I have seen no evidence to suggest whether it is treated as a word separating character or not when used in the URL path. I can't see any logic in Google not treating it as a word separator, but it is not so clearly seen as a space by the user. I would not try to use the + (plus) as a word separating character in the path part of the URL. It is often seen encoded as %2B.
- - The hyphen is commonly used as a word separating character in the URL. Search engines see it as such and it is clear to users. You only have to look at the Stack Exchange network. (This is not the same as a dash.)
Use the hyphen:
mydomain.com/start-home
Spaces in URLs are bad for two reasons: 1) when you copy the URL, it may have an ugly %20 in it to represent the space; 2) on older browsers, copying the URL may leave a space in the URL, so when pasting the link into another webpage like a forum post, the URL will become broken like this:
example.com/my cool page
The only part that will get hyperlinked is:
example.com/my
That will cause a 404 error on your site, and not give you the SEO link juice.
Dashes are best:
example.com/my-cool-page
A space when you do a link is converted to '%20' being mydomain.com/start%20home its dirty...
Using - instead of + or _ or ' '(space) is for google:
start_home for google is "start_home"
start+home for google is "start+home"
start-home for google is "start","home", "home start", "start home"
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.