developer
developer

Reputation: 3871

dashes vs underscores in URL

In URL rewriting, i am quite confused that should i use underscore (_) OR hyphen (-) to replace spaces. According to this and this, hyphen should be used. But wikipedia uses underscores like en.wikipedia.org/wiki/Computer_network_programming. so which should be used?

Upvotes: 4

Views: 1535

Answers (2)

Noon Silk
Noon Silk

Reputation: 55172

You can use whatever you want. It doesn't matter (from a technical point of view; there may be other reasons to choose one over the other).

Upvotes: 0

coder
coder

Reputation: 1079

use dashes

read from the matt's blog http://www.mattcutts.com/blog/dashes-vs-underscores/

Upvotes: 5

Related Questions