Sign in to your account



This field is required


forgot your password?


New to the site? Create an account →

To Dash or to Underscore? Choose Underscore!

tcr! · Feb 14, 2017 at 12:59 pm

Dashes vs. Underscores in URLs • Fletcher Tomalty

The debate over whether to use dashes or underscores to represent spaces in URLs is rather heated in the web development community, but not quite as extremely so as that of whether to use tabs or spaces when indenting code. So, what is better to substitute for spaces in URLs, dashes or underscores?

The simple answer is that, never mind what Google prefers, underscores are the right way to go. Why?

I’ve always refused the dash in URLs. Always will.

#webdev #google

Add a comment

It’d be better if you signed in before commenting


Post



Latest articles for #webdev

JSON Feed for the Podcast

JSON Feed for the Podcast

Dec 17, 2018 at 8:42 am

And then I finally got around to adding a JSON Feed for the Podcast…

Mapped podcast listener locations

Mapped podcast listener locations

Dec 3, 2018 at 2:12 pm

A few months back I started keeping track of where my podcast…

JSON Feed for the Blog

JSON Feed for the Blog

Nov 29, 2018 at 10:57 am

I finally got around to adding a JSON Feed for the Blog. Because that’s…

tcr! diaries podcast survey

tcr! diaries podcast survey

Aug 24, 2018 at 8:47 am

I’m interrupting the regularly scheduled episodes to announce a…