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 #google

Phone number optionally required

Phone number optionally required

Dec 1, 2018 at 12:05 pm

Good one Google. 🙄 #devhell #google

Optimized for Chrome

Optimized for Chrome

Jan 5, 2018 at 12:19 pm

Chrome is turning into the new Internet Explorer 6 Chrome is now the…

Gay Indiana Jones from Google

Gay Indiana Jones from Google

Sep 28, 2017 at 12:27 pm

Google anonymizes most referring search result links these days but…

Google and Facebook helped undo internet privacy laws

Google and Facebook helped undo internet privacy laws

Jun 3, 2017 at 8:16 am

How Congress dismantled federal Internet privacy rules “Trump…