How to Create SEO-Friendly URLs

Share this post


Well optimized URLs are important for both search engine optimization and user experience. Search engines factor many variables into their decision making process and URLs are high on the list. As with page titles, URLs help describe a web page to search engines and potential visitors, meaning they should be accurate, enticing, and well-structured. While many factors should be considered, here are eight
best practices for creating SEO-friendly URLs.

1. Describe your Content

A user should be able to make an accurate guess about the content of a web page simply by reading the URL. To accomplish this, a URL should include an accurate phrase or term that pertains to the page content.

2. Include Keywords in URLs

It is a best practice to optimize every web page around one keyword, and this keyword should be included in the URL. It is also important to put the most important keywords in the beginning of the URL, as search engine spiders do not give as much significance to words toward the end of a URL. Remember though, do not overuse keywords. Search engines recognize keyword stuffing and will penalize your website for those actions.

3. Use Hyphens to Separate Words

Using hyphens to separate words in URL phrases is important to both user readability and search engine optimization. Google recommends using hyphens (-) instead of underscores (_) in URLs because hyphens are treated as spaces between words, while words connected by underscores are viewed as one word.

URL Example

Optimized: http://example.com/blog/url-optimization-tips

Not optimized: http://example.com/blog/url_optimization_tips

4. Use Lowercase Letters in URLs

Do not use capital letters in your URLs. Search engines can decipher from uppercase and lowercase letters in URLs, which can lead to duplicate URLs and loss of page rank.

URL Example

Optimized: http://example.com/blog/url-optimization-tips

Not optimized: http://example.com/blog/URL-Optimization-Tips

5. Keep URLs Short

The URL of a web page should be as descriptive and brief as possible. A short URL is quicker to type and read. Also, the fewer the words the more value each word receives from a search engine spider. Too many similar words in a URL can be viewed as keyword stuffing and could result in a drop in search rankings.

6. Use Static URLs

Whenever possible it is better to use static, non-changeable URLs. These are URLs which remain constant with each page load. Try to avoid unnecessary parameters like “?,” “&,” and “=”, which are common features of dynamic URLs. Static URLs are easier for both users and search engines to read. This doesn’t mean you can’t add extra parameters to URLs you will be posting to social media to help track marketing data, but avoid hard-coding dynamic URLs directly into your site.

7. Be Careful with Subdomains

It is important to consider that search engines have the potential to treat a subdomain as a separate entity from the primary domain. This can affect multiple aspects of SEO, including link building and trust value. Unless you have a specific reason to use a subdomain, it is best to use subfolders instead.

URL Example

Optimized: http://www.example.com/topic

Not optimized: http://topic.example.com

8. Limit Folders in URL Structure

A URL should contain no unnecessary folders. Just use the amount of folders and characters that are needed for your URL structure. The flatter your site structure is the better.

Utilizing these best practices for SEO-friendly URLs should help your site rank higher in search results and entice users to visit your pages. A key component to URLs, and all aspects of SEO, is usability. Always keep the user in mind. One more thing to remember, Google likes to change the rules. Always keep your eye out for changes in the world of SEO.

Insights

600+ articles to give you key insights for your projects

8 Simple Ways to Improve Your Website Security

8 Simple Ways to Improve Your Website Security

With cyber threats becoming increasingly sophisticated, it’s essential to implement robust security measures to safeguard your website and the sensitive information it holds.  You know that you need to keep your website safe from the bad guys, but once you venture...

The Dilemma of Estimates

The Dilemma of Estimates

Estimates serve as the cornerstone of any website project, providing clients with a roadmap for budgeting, planning, and expectation management. They offer a glimpse into the intricate tapestry of tasks, timelines, and resources needed to bring a website to life....

Config Sync Overview

Config Sync Overview

When Drupal 8 was released, it came with Configuration Syncing functionality. This has been a staple ever since for Drupal 9, Drupal 10, and beyond. Configuration Syncing was a game changer and one of my favorite features in Drupal Core. The days before config sync...