CYBER MONDAY SALE! Last chance to get a 30% discount on ALL products!

How to clean up your site structure

We all know that moment where your website has grown to this monstrous collection of pages. That moment when you realize that you have too many pages in your menu and the coherence of your website is nowhere to be found. And we also know what a struggle it is to clean this mess up.

In this article, I’d like to go over some things we would take into account (at least) when changing your site structure. It’s a tough job, and sometimes it takes a lot of rewriting and perhaps even creating new pages, but as it is a job we have postponed way too long already, why not start restructuring today.

From chaos to order: your menu

The visual structure of your website is, in most cases, presented by the menu of your website. Of course, breadcrumbs and permalinks help a lot here as well, but these are not the things an ordinary visitor will take into account. The menu is. Your menu ideally consists of a limited number of top-level items, to keep the website focused.

How many levels?

In a perfect world, we would place everything in one sublevel at most. Today, many sites use secondary menus to accommodate for additional content. Loads of site-owners can’t help but state that they “can’t squeeze all they have to say in just a few pages.” Please realize there are more ways to get from one page to another and your menu isn’t the only navigational option on your website.

Home and Contact

For the majority of websites, the menu starts with the Home item and ends with the Contact item. We’re used to that, and every time we find a website that lacks either one of them, the menu just doesn’t feel right. Everything between these two items should be related somehow. Either list the main product groups or focus areas of the website.

Relevant menu items

One of the sites we’ve come across recently had three major interest areas: freediving, scuba diving and spearfishing. It is clear that these items have a link between them, and therefore the menu feels natural. If these menu items had been freediving, scuba diving and Dakar Rally, that wouldn’t feel natural, right? Keep things on-topic. If you have a diving website and want to write about your Dakar experience, I’m sure you can squeeze in a blog post or link to a specialized, optimized site about it. It doesn’t belong in your menu. This is your basic site structure.

Optimizing your site structure

Joost did an excellent piece on cornerstone content that we refer to on a daily basis. Cornerstone content (in short: assigning one main page per content and linking that from related pages) shows how internal links contribute to your site structure. Although menu links are the most visible, if a visitor is reading an article and wants to know more about the subject at hand, a link in the text is more easily found than a menu item that relates to it. If you need help fixing your site structure, you can sign up for our Site structure course.

Write it down

Call it an organogram, call it a flowchart or whatever name you think is suitable, but making a visual presentation of your site structure will pay off. Start with your desired (one or two level) menu and see if you can fit in more of the pages you have created over the years. You will find that some pages are still valid, but don’t seem suitable for your menu anymore. As mentioned that’s no problem, just make sure to link them to related pages and in your sitemaps. This way Google and your visitor will find these pages.

Perhaps this diagram will also show you the gaps in the site structure and you need to add pages to clean up the chaos. If you have a website for a company that develops websites, one thread in your site structure could be:

Web development → Content management system → WordPress → WordPress themes  → Responsive WordPress themes

Not all steps need to be in the menu (perhaps just Web Development and WordPress would be enough), but all pages in your site structure should ideally be set up and optimized. It will create a rich collection of pages that strengthen each other. By the way, I am sure that one step in this example also has links to other pages in your site structure, as it belongs to other collections of pages as well.

Remove pages (redirect them!)

What I expect, is that you’ll also find pages that need urgent updating or worse: that actually shouldn’t be on your website or simply don’t fit the current or new site structure. Services you used to offer or information that just isn’t accurate anymore. Write these pages down or copy the URLs to a text file.

Can you redirect (301) these pages, like with our the redirects manager in our Yoast SEO Premium plugin? Preferably you should redirect the URL to a related article, to preserve any traffic that this page had. If that related article doesn’t exist, redirect to a related category page, or as a last resort to your homepage. This way the (outdated) page won’t interfere with your site structure anymore. Read Joost’s article if you need to know how to properly delete pages from your site.

Rethink your taxonomies

When using WordPress, an apparent site structure is provided by the Categories and Tags you have divided your posts and perhaps pages in. In WordPress, these are called ‘taxonomies’. We have mentioned this before, but 8 to 10 categories would suffice for a website. Perhaps a webshop could have more, but the top level should preferably consist of that number of categories to keep your site and site structure focused. We’ve seen sites using over 300 categories, accompanied by over 5,000 tags and more. That’s not structuring your website, that’s messing up your site structure.

For me, the basic guideline is that if I don’t think I will reuse a tag, I won’t apply it to a post. And if an eleventh category would knock on my door, I’d probably wonder if the website could use another taxonomy next to categories and tags. Several WordPress plugins can help reorganizing taxonomies, but most of them don’t seem to add redirects after merging or deleting taxonomies – be sure to do that, of course.

Don’t take this lightly

Although one can write this down in a couple of paragraphs, it could be a lengthy process that shouldn’t be taken lightly. When changing the structure of a large website, it could make sense to change the permalink structure as well, which can have a lot of consequences. In this article, we focus on restructuring the site for user experience (and SEO), not on all the technical implications this might have if you want to take restructuring to the next level.

Read more: How to change your WordPress permalink structure  »

Tell Google about it

In the unlikely case you have constructed your HTML sitemap manually, update that sitemap after changing your site structure. In the likely case you have an XML sitemap, for instance, generated by Yoast SEO, resubmit it from Google Search Console. Should you have removed a page that just shouldn’t be in Google anymore, delete it from your website. Redirect that page to a page that is closely related to it. If you really don’t have a clue which page to redirect to, serve a 410 Content Deleted error. This way, you’ll at least let Google know that you deleted this content on purpose.

Keep reading: Site structure: the ultimate guide »