Streaming live at 10am (PST)

How do I add multiple sub-folders in URL slug?

Hi,

I’m building out my blog and want to format my blog categories like this:

site.com/blog/category/category-name

The problem is, whenever I save the “blog/category/” in the custom URL slug for my Category Collection, webflow changes this to:

site.com/blog-category/category-name

How do I preserve the forward slash?

Why do I want this? Want to mirror blog URL structure from SEO authorities Moz, Neil Patel etc.

Hi @jwb Jacob,

Welcome to our community and your first of many posts here.

The structure for URLs in the CMS within Webflow is built with the collections in mind. When you create a collection of categories you are using this specifically as a reference field for your actual blog posts.

The blog-category/category-name is not the one you should be focusing on. The site.com/blog/post-name is the one you should focus your attention to.

Have you created your blog post collection yet? Linked your categories to this collection?

1 Like

Hey Brandon, thanks for the quick reply!

I’ve setup my Collections as follows (and made connections from Blog to Author, Tags and Categories):

29

Here’s a work in progress example of a blog, with an URL that’s perfectly fine: https://tldr.webflow.io/blog/all-csgo-player-transfers-2019

However, what I’m trying to achieve is to get a my “guide” blog category to format as mentioned in the original post, which it currently does not. As you can see from the example above, once you click guide you end up at (don’t mind the page not found haven’t designed it yet):

https://tldr.webflow.io/blog-category/guides

As opposed to

https://tldr.webflow.io/blog/category/guides

Hi @jwb,

This should be archived by changing the canonical address! It’s a matter of adding code to that page. Use this link for a description and how-to!

https://yoast.com/rel-canonical/amp/

1 Like

I see - so I’d apply the canonical address to a page that I setup myself, per category with the slug of my choosing and then apply the canonical (soft redirect) on the auto generated one for SEO. ’

Thank you for your help!

1 Like