If one thing’s for sure, there’s a ton of confusing information out there on proper URL structure.
To be fair, it is a pretty multi-dimensional concept with a lot of working parts.
And while proper URL structure isn’t exactly the holy grail of SEO efforts, it still serves as a noteworthy way of gaining a possible edge over your competition in search engine rankings.
With this in mind, I highly recommend that you avoid the “bento box” approach to optimization.
Don’t focus so much on one specific component of SEO, like URL structure, that you forget to consider SEO on a holistic level.
To help you along your SEO journey, I’ve compiled a sweeping guide to serve as a one-stop-shop resource for all of your URL structuring needs.
So what exactly does “correctly” mean, anyway?
The descriptor “correctly” refers to SEO-friendly URL structure that is optimized for search engines to both promote PageRank and enhance the user experience.
As you probably already know, keeping user experience at the forefront of your mind is perhaps the most important of all SEO efforts.
At the end of the day, we can optimize our content and URL structures until we turn blue in the face.
But, without offering a great user experience and useful, unique content that will engage the reader and promote sharing — it will be nearly impossible to organically rank well on search engines.
Step 1: Keep it simple and consistent
Think of search engines as those stable, consistent, and responsible individuals in life.
They don’t like too much excitement or change, nor do they like surprises.
They are looking for readability, steadiness, and consistency.
URLs are fundamentally classified into two basic types:
Dynamic URLs change and include parameters. Static URLs stay the same as long as no changes are made within the HTML.
They are consistent — and when it comes to URL structure, consistency is key for ranking purposes.
As a result, you always want to shoot for static URLs over dynamic ones with parameters. So always opt for static, human-readable URLs like this:
Instead of this:
Another important factor to keep in mind when it comes to keeping things simple is the length of your URL.
Use short URLs (the shorter the better), as they tend to rank higher on Google’s first page.
Shorter URLs enhance the user experience, instill trust in the web browser, and are optimized for sharing.
The recommended character length is listed at no longer than 2,083 characters max — and this is a generous number.
Ideally, you really don’t want them to be anywhere near this number.
Keeping it short and simple keep it memorable.
Step 2: Keep it organized
Keeping your URL structure organized in the most widely accepted format is imperative.
Many times it’s a nice thing to stand out from the crowd — except in the case of SEO.
So if you’re looking to get attention by shaking things up, just make sure you do it with your content and not your URL structures.
Generally speaking, directories, categories, and subfolders are much better to use than subdomains when it comes to fundamental URL structuring.
This is because subdomains split authority. Search engines tend to classify subdomains as their own independent entities, which is not so great for SEO purposes on a holistic level.
Directories, categories, and subfolders are all useful for aesthetic reasons, which is why it’s best to keep a clean and organized structure when it comes to your URL formatting.
So you have your homepage, which would be like this:
Then, ideally, you’ll have your categories and subcategories organized neatly from there.
Here’s an example of the way this should work:
Product (liquid lipstick)
And so on and so forth. This creates a visually pleasing and simple “breadcrumb trail,” enhancing the user experience.
On the search engine side, it shows topical relevancy by telling Google what each page is about as well as what it relates to.
This shows the search engines that your website has depth and substance, which establishes credibility and value.
While the root page typically has the most PageRank, the number of directories/categories/levels does not matter when it comes to search engine optimization. It may help with usability, but it does not affect PageRank.
Another important note on the organization of URL structures has to do with global websites.
If you have a multiregional or multilingual website, you’ll want to place relevant language markers in your URL sequence.
This enhances the user experience and tells people that everything they browse in that specific directory will be in the same language.
Here are a few examples:
In this example, /en/ indicates that the website is written English, and /fr/ indicates that the content is written in French.
Take a look at this recent video I created showing how you can double your traffic through internationalization.
Step 3: Use the right keywords
It should probably come as no surprise that I’m going to talk about keywords for a few minutes.
Proper keyword research is the first step toward ensuring that your URL is structured in a way that’s best optimized for search engines.
Once you have figured out your keyword list, it is important not to go overboard with them in your URL structure.
The recommended number of keywords in a URL is 1-2 at most.
At the end of the day, stuffing your URL with a bunch of keywords isn’t going to help your search engine rankings.
In fact, according to Matt Cutts, former head of the web spam team at Google, you should keep the keywords you use in your URL relatively close to, or exactly the same as, what you use in the title of the page.
This helps search engines determine relevancy.
Also, adding these keywords in your meta description helps your page stand out visually during search engine inquiries.
For example, if you search for “negotiate a lease agreement,” the keywords (and closely related words) that are included in a website’s meta description will be bolded and, thus, stand out.
When it comes to using keywords in your domain name, Cutts says that choosing a domain name with your keyword in it can be beneficial but that it’s “…definitely possible to succeed without having keywords in your domain.”
Cutts is also quick to point out that keyword domains are nowhere near necessary and that branding can play a greater role than keywords when it comes to success.
Think about sites like TechCrunch, Reddit, and Digg.
They use no keywords whatsoever but are highly brandable, catchy, and memorable.
Also, a word to the wise: In 2012, Google released an update that devalued exact-match domains.
So, if you’re relying on a domain with 1 or 2 core keywords in it to help you rank better, you could be in for a rude awakening.
Another factor that doesn’t contribute much to PageRank is the position of keywords in URL structure.
Contrary to what some may think, the placement of your keyword in your URL structure has little influence on your rank.
Cutts detailed that it may help a “little bit,” but not to the point where you should “obsess” about it or resort to keyword stuffing.
All in all, it’s more important to focus on the quality of the content you have to offer and to avoid keyword stuffing at all costs so that your site doesn’t come across as spammy.
This, ironically enough, leads us to the next step.
Step 4: Keep it trustworthy
Everything boils down to trustworthiness.
Google puts its users and the user experience front and center. Always.
As such, your website will be ranked on a number of things, including the length of time it’s been live since it was first indexed, the type of content you’re publishing, and security features you’re using.
Some important factors related to security and trustworthiness that you should keep in mind when structuring your URLs are outlined below.
Each will help you build site credibility, which will help you improve your rankings.
HTTP vs. HTTPS
This one is pretty simple and straightforward.
The “s” in HTTPS stands for secure, and it means just that. All communication between your browser and that specific website is encrypted and secure.
This is the standard for all websites where financial information is exchanged, like online banking and ecommerce.
In a perfect world, it would be the gold standard for all websites.
I think that HTTPS should be included in your URL because all information that’s sent over a standard HTTP connection is done so in plain text.
This presents a significant problem if someone hacks into a connection, and you are, for example, typing in information that you don’t want a complete stranger having, like your home address, work email address, or birthdate.
I discussed this in a previous article where I used Cloudtec as an example.
They saw almost double the number of top 10 search engine rankings after switching to HTTPS.
TLD stands for “top-level domain” and is the part of the domain that sits to the right of the dot.
When it comes to TLDs, “.com” is the most trustworthy option to use.
Another type of TLD is the gTLD, which stands for “generic top-level domain.”
These types of TLDs can be geo-targeted in the Google Search Console and include suffixes such as:
Next, rTLDs (regional top-level domains) are comparable to top-level domains like “.com” or “.org,” but are region specific.
And last, but certainly not least, are generic country code top-level domains (gccTLDs). The list of gccTLDs changes frequently but, at the time this article was written, included suffixes such as:
Choosing the right TLDs establishes authority and trust from an end user’s perspective, making it more probable that your website will see traffic and shares.
While your TLD doesn’t directly influence your ranking per se, it does indirectly influence it by influencing traffic — a factor that can have a direct and significant impact on your ranking.
Before I dive into canonical URLs, I first want to define what they actually are.
A canonical URL is a preferred URL that acts as the main address for a web page.
They are important because they help facilitate better credibility and trust by preventing duplicate content.
As a result, they are effective at increasing value with search engines.
Here’s a good example of the way this works.
Let’s say I create a post about the best spots for brunch in Seattle, and I post it to the homepage of my blog. My URL would look something like this:
Now, let’s say that I want to categorize this post because I have a ton of blog posts on a lot of different subjects, and I want to keep my website organized.
So I go in and categorize this post under the category of “Food.”
Once I do this, an entirely separate URL is created for the same post, which looks something like this:
Now, I have two URLs, both of which point to the same exact page:
URL #1: www.example.com/best-brunch-dc
URL #2: www.example.com/food/best-brunch-dc
This is no good.
Google sees this as duplicate content on the same website because there are two separate links that have the same content.
So it devalues both of them.
Wondering how you should structure your URLs to fix this?
You need to set up a canonical or “preferred” URL.
Once you do, regardless of whether someone searches for the post and finds it on the homepage or through the “Food” category, only one URL shows up in the web browser.
Now your site won’t get knocked for duplicate content and devalued/demoted by the search engines.
Lastly, avoid the big no-no’s
There are various universal pitfalls to avoid when considering ideal URL structure for SEO purposes. A few significant ones that stand out as uniformly detrimental to your ranking and the value of your website are:
- Stop words
- Special characters
- Parameters/dynamic URLs
Avoid “stop words” at all possible costs in your URL structure.
Stop words are words like “a,” “an,” and “the.”
Here’s an example of what I mean:
The first URL is good. The second one is not.
Avoid special characters like question marks, apostrophes, exclamation points, ampersands, and asterisks when creating SEO-friendly URL structures.
Hyphens are the standard and preferred method of separating words/keywords in the URL structure.
Using anything else will cause indexing problems with the search engines.
Avoid parameters and dynamic URLs, which are the result of searches within a database running on script, within websites.
Search engines have a preference for indexing unique pages.
When they see parameters and go to index dynamic URLs, they do so by cutting off the URL after a specified variable or special character.
Search engines do not like special characters. These are not SEO friendly.
Here is an example of three separate dynamic URLs linking to three separate pages:
When the search engines see these, they pick a specific variable of contention (e.g. the question mark) and then truncate the rest of the URL for indexing.
This presents quite a problem since the end result becomes:
Now, all of a sudden, three separate URLs to three separate pages become truncated to the same exact URL.
This cannot be indexed.
John Lincoln of IgniteVisibility detailed a similar scenario from personal experience.
A client of his had failed to switch their dynamic URLs to static versions, and whenever the sequence changed, they were hit with significant drops in their PageRank.
Learning the fundamentals of URL structuring is important if you’ve decided to get serious about search engine optimization.
As a refresher, here are the 4 key steps:
- Step 1: Keep it simple and consistent
- Step 2: Keep it organized
- Step 3: Use the right keywords
- Step 4: Keep it trustworthy
And, of course, avoid the big no-no’s at all cost. Failing to do so can destroy your PageRank.
A few things to avoid that are uniformly agreed upon are:
- Stop words
- Special Characters
- Parameters/Dynamic URLS
These not only negatively impact the user experience but also devalue your website when it comes to your search engine rankings.
Yes, this seems like a lot.
But no one said that it was going to be easy.
Making sure your URLs are optimized and structured in the best way possible is no small feat.
But in a game where everything counts, it’s just one of the many ways you can get a leg up on your competition and legitimately increase your PageRank and value.
So start implementing these steps today, and you’ll be well on your way toward improving your PageRank and, subsequently, your Google search rankings.
What kind of results have you achieved with proper URL structuring for SEO purposes?
The post The Complete Guide on Structuring Your URLs Correctly appeared first on Neil Patel.