Before you actually start filling your site with content, decide upon a logical structure for your site. First of all, this will make it easier to build your site, especially for larger sites. Also, it can prevent you from having to restructure your site later on. I often perform SEO audits and while many issues are easy to solve, this one is not: Restructuring a website often leads to changes in the existing URLs of your website, which could have a negative impact on the search engines. Of course, you can correct this with redirects, but it creates additional work that you can avoid by starting off right.
Create a logical category structure
By carefully creating a logical category structure both people and search engines will find it easier to understand your site structure. It also helps to maintain the site. What can often help is to make sure the category structure and the menu structure are set up in a similar way. On Joomlaseo.com, I have categories for SEO, Speed, Extensions, Audit Tools and Advanced topics, and you can easily see that this is exactly how I have set up my menu.
What also helps for SEO is to link back from any article or subcategory to the category level above (using breadcrumbs, or by setting the Show Category option in the article settings). If you also fill the category page with useful content, they receive more authority. This is why I usually try to prevent having categories without a description. Just check out the main Checklist page on this site. It is not an article, but a category page. All articles in this category link back to it. If you do this correctly, your site will have a pyramid-like structure, with the home page on top (1), then the main category / menu (2) and individual articles (3) at the bottom:
In the SEO world, we often speak about link juice. This sounds a bit magical, but we use it to indicate the flow of links to certain parts within a website. Pages receiving many internal links are relatively strong (also read this excellent article about silo-ing your URL-structure). Because the pages higher up in the pyramid automatically receive a lot of link juice, they are seen as pages with a lot of importance, which might make them stand out. This makes them suited for competing for competitive keywords, while the pages low in the pyramid, typically your individual articles, are more suited for targeting so-called long-tail keywords (low traffic, but very relevant). In some cases, this even can even result in perfect site links in the Google SERP, displaying your main navigation.:
If you take this technique even up one level, you can use it to create so-called SEO-silos in your website. To learn more about this, read this (non-Joomla) blogpost by Authorityhacker.com or this one alfredlua.com/seo-topic-clusters.
Avoid deep link structures
Avoid going too deep with your URL structure. You should not go further than 2 levels deep. Going deeper than this is first of all confusing for users, but also makes the purpose of the site less visible to search engines. Some examples:
- Bad: joomlaseo.com/joomla/seo/keywords/joomla-specific/keyword1 (=5 levels)
- Good: joomlaseo.com/site-speed/jch-plugin (=2 levels)
Of course, there may be exceptions where this is hard to achieve, like large webshops or product catalogs.
Avoid more than 7 menu-items per menu
As well as avoiding deep link structures, you should limit the number of items per menu. Users often get confused or bored when more than 7 menu items are visible in a menu, and confused users often leave the site (=increased bounce rate = bad SEO rankings). Instead of stuffing all your menu items in one menu, you should either use sub-menus or fly-out menus (make sure they work on mobile devices).
URLs in Joomla
Joomla creates URLs based on the menu structure. If the article is not accessible through a menu link, the URL will be based on the Category - Article structure. The actual URL is based on the alias of the Menu-item / Category / Article. So, a URL is usually created for every menu item, even if 2 menu items link to the same article (avoid this, as it leads to duplicate content issues). The topic about URLs is actually pretty extensive, and it goes a bit too far to go too deep here. My Joomla SEO book covers this in much more detail.
My advice is to always make sure every piece of content is linked to a menu item. If this is a single article item of a category blog collection does not matter, both are fine. Do not create categories if you don't provide a link to the category on the site. If you do not provide a menu link, you may even end up with content that cannot even be reached by users: orphan pages.
One last tip here is to make sure you build a menu structure that you oversee. If possible, only use one menu... This is easy enough to arrange.