Uniform Resource Locators

I love clean URLs. And I hate deadlinks.

Clean URLs

Clean URLs are those beautiful URLs which are pleasing. Looking at them is like looking at baby puppies. Here’s how I make them.

  • No www although you’ll have issues with heroku
  • No characters other than alphabets in the domain name
  • URLs always end with /
  • No URL ends with .html, .php or anything. Let them end with /
  • Everything lower case
  • No unnecessary subfolders. example.com/blog/post/march/post-title is bad. Try example.com/post-title/

Rule to always remember is: “Cool URLs do not change

Here’s an example of a perfect URL: learnlearn.in/urls/