Solved

URL's containing a plus sign instead of hyphen

Posted on 2009-04-07
3
358 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 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

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

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

Some of the SEO trends we might expect in 2017.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
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…
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).

688 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