Casbay Knowledge Base

Search our articles or browse by category below

HOW TO: create a user-friendly URL

Last modified: January 18, 2021
You are here:
Estimated reading time: 1 min

HOW TO: create a user-friendly URL

An optimized URLs are important for both search engine optimization (SEO) and your user experience. Search engines like Google will inspect many factors to make decision which URLs should be high on the list. URLs is important to describe a web page to search engines and potential visitors. Therefore, they should be accurate, enticing, and memorable. Here we suggest the six best practices to create user-friendly URLs.

Six Practices for Good URLs

  1. Describe What You Do – A good URL should include a phrase or term that is linked to the page content.
  2. Insert some Keywords – You can put the most important keywords in the beginning of the URL so the search engine spiders can easily track them. Note that do not overuse the keywords as keyword stuffing will cause your site being penalized by search engine.
  3. Use Hyphens, Not UnderscoresHyphens (-) are recommended by Google as hyphens are treated as spaces to separate words while the words connected by underscores (_) are counted as one word.
  4. Keep it SHORT! – A short URL is more memorable, recognizable and also easier to type and read. A URL that has many similar word might be viewed as keyword stuffing.
  5. Use Static URLs – Try to avoid using unnecessary parameters like “?”, “=”, and “&”. A static URL is easier for users and search engines to read than a dynamic URL.
  6. Optimize The Subdomains – It is better to use subfolders instead of subdomains unless you have a specific reason. This is because search engines might have the potential to treat subdomain as a separate entity from the main domain.

For your information, you can also create a user-friendly URL using .htaccess. If your website is using long URL like, you can change it into user-friendly URL “” in .htaccess

You can modify this line according to your needs and add this code to your .htaccess file.

We hope this article helped you to learn about how to create a user-friendly URL. For more articles, kindly visit our Knowledge Base.

Was this article helpful?
Dislike 0
Previous: HOW TO: Enable spam protection in cPanel
Next: HOW TO: Create a cPanel account within WHM