Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

URL's containing a plus sign instead of hyphen

Posted on 2009-04-07
3
Medium Priority
?
365 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 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month14 days, 6 hours left to enroll

580 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