Solved

URL's containing a plus sign instead of hyphen

Posted on 2009-04-07
3
341 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:Tiggerito
Tiggerito 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to count occurrences of each item in an array.

759 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now