URL Structure/Hierarchy | SEO

Hey everyone,
I’m trying to make one of my clients sites have a page hierarchy (image below) for SEO purposes with static pages. This is also often referred to as Nested Urls. Ex: https://www.website.com/category/page

Normally, developers create a folder and add the pages under it, creating an organized structural hierarchy, but im not sure if there is a way to do this with Wix.

Sure this can be done with dynamic pages, but even then im not sure if its creating a “folder”. All that I can tell is that I can add an infinite amount of “nests” in my url “website.com/example/example2/example3”

I don’t need dynamic pages, as they act as templates, but it seems as if this is not possible with static ones. So temporarily, I have created a Database for each category (or “folder”), and added all my static pages there under the appropriate database (category). This allows me to make nested urls.

Anyone have any tips on how I can achieve structured pages in a hierarchy with nested urls for static pages?

Hi,
You can add folders to the menu structure as instructed here . However, this doesn’t reflect the page URL.
You can use the workaround you have described.
Also, don’t hesitate to leave this feedback to Wix Support team here .

Hi @aleksf I definitely always make sure to keep my sites organized and create folders for my static pages.

However I’m doing this for SEO purposes to create a structural url hierarchy. So i’m afraid organizing pages into menu folders wont be enough. I’m happy with the current loophole with dynamic pages. Dynamic pages allow me to create nested urls, and i’m organizing them by connecting them with appropriate databases which act as “folders” that organize them. [EX:](EX:

website.com/books/book-title)

[website.com/books/book-title](EX:

website.com/books/book-title)
website.com/movies/movie-title
website.com/clothes/hot-booty-shorts

If you have any more info on how to do this with static pages I would appreciate anything you could give me :slight_smile:

If you need more control over what the url’s display than what dynamic pages provide, you’ll have to use routers. Based on your example url’s, you would create a router called books, another called movies, and another called clothes.

You can use wixData to feed info to the router page based on the book or movie title, and if you want to add even more layers of context, you could do something like book-title/purchase and book-title/info, and structure campaigns based on the referrer/query.

Just bear in mind that you’ll also have to structure your SEO data in the router code as well, or using the new wix-SEO API.

Hey @skmedia thanks so much the the helpful information. I never worked with routers before personally and it sounds like like a bit of work. Do you think the loophole I found (making static pages into dynamic for the purpose of giving them custom urls and connecting to the same databases to organize them) will work fine?

I’m not sure how Google will react to it and if it will at all help with SEO. The whole point of this was not to make it easier for users to see a visual hierarchy, but for google. I’m a bit worried since none of the pages are actually linked to each other (as I would imagine they would be with routing).

@danyminko Well, with dynamic pages, you don’t have any control over sitemapping, which I think is what you are referring to. That is only available if you set up the router. Since your url paths are purely artificial, there’s not really any context Google can infer from them other than how they read. With a router, each point in the path can give Google that context based on what you tell it.

That said, an easier option might be the new wix-SEO api… It’s not the same effect, but maybe it can help?

@skmedia Thanks! That’s what I was looking to find out. I’ll take a look into the wix-SEO api and learn a bit about it, hopefully it’s easier to do than it looks.