?
Solved

URL's containing a plus sign instead of hyphen

Posted on 2009-04-07
3
Medium Priority
?
362 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Assisted Solution

by:Hube02
Hube02 earned 498 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 501 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 501 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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

743 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