How can I remove a blog category from my article's URL structure?

How can I remove a blog category from my article's URL structure?

AlbertBenj
Excursionist
23 0 2

Hello,

 

I would like to remove blog name category from article's URL structure. (because I might understand this might not be possible for category pages, but I want to remove it from article/blog post page) I am not referring to "blogs" part, but to the "press-release/" part:

 

example.com/blogs/press-release/new-product-features-january-2022

 

I saw some Shopify Stores that succesfully did that:

https://choosemuse.com/blog/ (I saw in their technology lookup that this one uses Wordpress somehow... but any idea how exactly that is working?)

https://madeincookware.com/blogs/best-way-to-decant-wine

About this one is a bit strange because they also have this structure: https://madeincookware.com/recipes/alubia-blancas-with-clams 

 

I tried to remove  {{ blog.handle }} from blog's liquid, but that didn't work.

<a href="/blogs/{{ blog.handle }}"

The same happens with "tagged" part of the URL.

 

Any advice would be highly appreciated. Thank you so much.

Replies 2 (2)

srjsusan
Visitor
1 0 3

I know I'm trying to do the same but it doesn't let me. Apparently Shopify themselves can structure their blog to have the category removed from their url. Look at their blog url structure:

 

https://www.shopify.com/blog/start-online-tshirt-business

 

This is exactly what I'm trying to do but it doesn't let me. And there's no one out there to help. They said you can hire a Shopify expert but they charge so much just to do this. 

MRamzan
Shopify Partner
529 3 46

You can remove /blogs from your store url:

 

Hire Me:

WhatsApp: +91-9145985880
Email: mohdramzaan112@gmail.com
Skype: mohdramzaan112