Web design & Internet tutorials
Search the site...
Home» FAQ » Browsers » Should I use lowercase or uppercase letters in a domain name?

Should I use lowercase or uppercase letters in a domain name?

Posted by Janine Warner - August 25, 2012 - Browsers, FAQ, Web Hosting, WordPress
1

When I send people my Web address (URL) or print it on my business cards, should I use all lowercase, or can I write it like I would in a sentence and use the caps?

Answer:

In any URL, caps are optional up to the .com part. Addresses are only case-sensitive after the .com (same goes for .org, .edu, and other types of URLs).

When I’m advertising a Web address or URL, I like to use caps in the URL because most web site names are easier to read that way.  I recommend:

MyDomainName.com

or for my site: DigitalFamily.com

However, if anyone types your domain in all lowercase, they’ll get there just fine. (Some publications prefer that style and will only print URLs in all lowercase, but it’s not necessary.)

Both DigitalFamily.com and digitalfamily.com will take you to the same web page, but if you have an address that extends beyond the .com part, the case does matter.

For example: DigitalFamily.com/Books and DigitalFamily.com/books are not the same address — the one with the capital B will not work.

The technical reason is that most web servers are case-sensitive and the part of the address that comes after the .com is based on the name of the folder or the filename that page resides in on the server.

For the same reason that links within a web site should match the case of the name of the file they link to, the address after the .com needs to match the case of the specific file or folder.

Think of a long URL as being one long link to a page within a site. In this example, DigitalFamily.com/books takes you directly to a page on my web server that is in a folder named “books.” This won’t work with “Books” because I didn’t use a cap when I named the folder. Most web designers use lowercase after the .com consistently so they can easily keep things the same, but if you do use mixed case on folders and filenames, you need to do the same in the URL (as you see in this next example).

I could have linked specifically to the page about my website that features my books, by using this URL: https://www.digitalfamily.com/books/index.html.

And here’s your bonus lesson for the day ;-)

Name your main pages index.html to create shorter sub-URLs.

The URL https://www.digitalfamily.com/books

goes to this page: https://www.digitalfamily.com/books/index.html

If you name the main page in any folder index.html, you can shorten the address and just use the folder name. That makes it easier to give the URL out in print, and because most web servers are designed to “serve” the index.html page first, you can more easily set it up.

Save people typing the extra long addresses and use index pages to take people directly to subsections of your sites.

Oh, and if you have a blog, use an SEO plugin to help create clean URLs. Short URLs are better for humans and computers…

dwcs3, dwcs4, dwcs5, dwcs6, SEO, web design, web hosting, wordpress

One comment on “Should I use lowercase or uppercase letters in a domain name?”

  1. Are Domain Names Case-Sensitive? – Naming Generator says:
    December 16, 2020 at 8:35 pm

    […] http://www.digitalfamily.com/faq/should-i-use-lowercase-or-uppercase-letters-in-a-domain-name/ […]

Leave a Reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • Google Analytics for Creative Professionals – new class on Pluralsight
  • Follow the cursor JavaScript sample
  • Part Four: Tools that let amateurs look like professionals
  • Part Three: Influence, Klout and finding what’s hot
  • Best social media tools part 2: Twitter, Instagram and Pinterest
  • How to add sound to a website
  • The advantages of a dynamic website, such as WordPress
  • How do you preserve Google rankings when you redesign a WordPress site ?
  • Browser Testing Tools
  • My updated Facebook Template works on small and large screens




© 2001 - 2020 All rights reserved. DigitalFamiliy.com | Terms & Conditions of Use | Privacy Policy

This is a demonstration store. No physical products will be shipped. Dismiss