Solved

URL's containing a plus sign instead of hyphen

Posted on 2009-04-07
3
355 Views
Last Modified: 2013-12-08
Hi All

What experience do we ahve in terms of guidelines for using + signs in URL structures?

Google advises that a Hypen is better than a + here: http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=76329

Would you suggest it is worth converting a site URL sturcture to this way?

Regards
Anthony
0
Comment
Question by:eonic
3 Comments
 
LVL 18

Assisted Solution

by:Hube02
Hube02 earned 166 total points
ID: 24086337
I would suggest that you go with the - rather than the +. For one thing, google is correct, they are the ones that crawl your site. The second matter is that the + is considered a special character in url query strings and can represent a space in a parameter as in

somepage.php?name=my+name

using a + in your url could cause problems, however, I have not actually tested this so I can't say it is a certain that it will cause trouble.
0
 
LVL 2

Accepted Solution

by:
simplyakm earned 167 total points
ID: 24096005
Take a search engine as a human,

for example if you are using a url like following for an about us section for you site.

http://yoursite.com/pageid?=2

or if you use
http://yoursite.com/aboutus

the above is called as a clean url or search engine friendly....

the same thing is with a + and -

Hypen makes more sense and GoogleBot ( Google's Web Crawling Robot Programe) is written like that
so it is good to follow them.

i hope, i answered you...let me know for any other concern
0
 
LVL 23

Assisted Solution

by:Tony McCreath
Tony McCreath earned 167 total points
ID: 24096750
spaces and plus signs are best avoided as spaces are often encoded into plus signs. This can confuse.

hyphen is a safe character and helps seperate words.

http://yoursite.com/about us
often becomes
http://yoursite.com/about+us

this is always the same
http://yoursite.com/about-us

and nicer to read (personal opinion)

underscores is another option however they tend to get obscured by underlined links
http://yoursite.com/about_us
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question