Large websites can get messy… quickly. Having a consistent URL structure is the key to your sanity as an SEO. Here’s what you need to know.
Websites, no matter their sizes, need to have a consistent and clear URL structure. Not only is this a best practice for SEO purposes, but for the users’ experience on your site.
Which would you prefer to read?
5 Key Factors for the Best URL Structures
For websites of all sizes, that plan to have multi-level categories or well-built-out blogs, the URL structure is important to nail down before creating any content. This will allow you to establish your site’s navigation hierarchy, improve the user experience, and plan your content accordingly. Here are some key factors to keep in mind when deciding which structure may work best:
-
Write your URL structure for the user, not for Google
Ultimately, the URL should be written for humans, not bots. As seen in the example above, the shorter URL is more pleasing to the human eye.
Though Google will read and interpret either of the two URLs, it is more likely to rank the shorter URL over the messier one, given it meets user intent and other ranking factors like keyword targeting.
-
Utilize functional URLS
Functional URLs are ones with a flexible format in which the user can simply remove part of the URL with the understanding that each subfolder must also be a standalone page that they could get back to.
Their structure would look something like:
https://awebsite.com/leve1/level2/level3/
-
Reflect the main keywords in the URL
If your main navigation bar or blog categories contain keywords that you are trying to rank for, use these same keywords in the URL.
For example, a blog subcategory landing page on hair care might look like:
https://awebsite.com/blog/hair-care
The blog post itself may look like this:
https://awebsite.com/blog/blonde-hair-care-tips
-
Don’t force a short URL structure if it is not user-friendly
If a shortened structure simply will not work for the size of your site, it’s better to have a well-organized, human-readable structure than a messy one!
-
Minimize click depth when applicable
We know that pages farther away from the home page are deemed “less important” but this does not mean “less rank-able.”
Ideally, if your main category and subcategory pages are about 3–4 clicks away from the homepage, this is still suitable for a large site and should not have negative SEO implications so long as the structure is consistent and clean.
Start by Planning Your Blogs in a Subfolder
Let’s say your website plans on having a pretty well-built out blog with the categories and subcategories seen below:
You’d start by organizing each category within a /blog/ subfolder like:
Not only is this structure very functional — as in a user can remove part of the URL and get back to the landing page before it — but it also clearly tells the user and Google, where they are within the site, and how the content is related.
Ask yourself “how built-out are my blog categories going to be?”
Are your categories and/or subcategory landing pages going to function as a navigational hub for the content to link from, or do you plan on using those landing pages to host their own content?
If you’re leaning towards the first option, then you’d want all that link value going to your actual blog content, right?
Right!
Then let’s get into some URL structure options you can choose, depending on the size and demand of your site content.
Reflect Categories in Your URL Structure
Below is an example of a website’s blog, its subcategories and how the URLs could be structured in three different ways:
-
Using a default “category” subfolder
Some larger websites, like e-commerce based ones, will actually have this reflected as /category/ in their URLs to help organize products and content. Similarly, with certain WordPress themes, your blog posts can be organized within custom categories that you set up.
This may sound appealing for our super-structured folks, however, sometimes this defaults to creating a /category/ subfolder within your URL, instead of a custom /blog/ one (if that’s what you wanted).
Depending on your site theme and customizations, you would have to manually alter this default URL structure through the WordPress permalink settings, Yoast plugin settings, or through .htaccess.
Ideally though, if this structure works for your website, each category landing page would be between ~2–3 clicks away from the homepage and subcategory pages no more than four clicks away.
Pros:
This lets you organize and archive all blog category content within that “/category/” subfolder. If you’re using the landing pages for link equity and hosting actual content on them, this would also create an ease of reporting and page tracking.
Cons:
Let’s be real — the URL is long when navigating to the subcategory landing pages, and even longer once a user gets to an actual blog post. This increases the click depth for blog posts to about 4+ clicks away from the homepage.
-
Using a custom category subfolder
Consider not using a default “/category/” subfolder at all, and instead just use the navigational, main keyword as the subfolder. You’ll see that the URLs can be condensed to not repeat the main keyword like it is in /blog/hair/hair-trends, and this still makes for a very clean, functional URL.
Pros:
The URL is immediately shortened. This is equally as effective for the user and for Google’s understanding of a site’s structure.
Cons:
The only con here may be that if it’s important for you to track the actual subcategory landing page performance, it may be less direct, since they won’t be nestled under a universal /category/ subfolder.
-
Using no additional subfolders for blog subcategories
Maybe your website is smaller and won’t have a need for multi-level blog categories. There are also plenty of large sites with success in not using subcategory folders at all, and this may be a great option for you if your main interest is driving link equity to your blog content.
It could look something like below, or the subcategories can not exist at all, which would mean all link equity goes straight to the written content living under /blog/.
Pros:
Skipping the subfolders is a clean way to focus on the blog content and drive link equity and rankings straight to the blogs and/or the top-level category pages. The category subfolders function strictly for site navigation, and no SEO or user experience is lost.
Cons:
The main con here is a matter of preference, really. If your subcategories matter for your site content and structure, then you may consider keeping subfolders throughout your URL structure.
This URL structure is also less functional, in that the user cannot just remove the last trail of the URL string and get back to the previous landing page.
However, implementing breadcrumbs is an SEO best practice anyways, and should be used regardless of the URL structure.
So, What URL Structure is Best for SEO?
The most honest answer we can give is that, it depends!
The three main things to consider here is:
- How big your site is, and how built out your blog category and subcategory pages will be
- Where the majority of your site content will live (i.e. /blog/)
- How you will be prioritizing content to drive traffic and rankings
Ultimately, we always recommend mocking up your site, whether it’s through a temporary dev site, or even drawn out on a whiteboard or with sticky notes. Consider your top level navigation and any subcategories you may want to follow.
Narrow down how you’ll prioritize your content, taking click depth into consideration for your most important pages. Then you’ll have a good start on deciding what URL structure fits best to your website’s size and SEO goals.