Hi everyone,
I have hundreds of blog posts currently living under the same URL structure: /blogs/golf/article-name. These are all hosted on a single landing page at /blogs/golf.
What I’m trying to do is create additional landing pages by category to make it easier for my customers to browse specific topics. For example:
- /blogs/golf-resources
- /blogs/golf-product-comparisons
I’d like to bucket my existing blogs into these categories and display them on their respective category pages. However:
- I don’t want to change the current URLs of my articles (to avoid setting up redirects).
- I don’t want to use Shopify’s tagging functionality to categorize the posts.
What’s the best way to create these category landing pages and dynamically or manually display the relevant blog posts? Any solutions that keep the process clean and user-friendly would be greatly appreciated!
Thanks in advance!
Hi @kanbar1
Crudest way is to copy the content to new blogs.
- I don’t want to change the current URLs of my articles (to avoid setting up redirects).> 1. I don’t want to use Shopify’s tagging functionality to categorize the posts.1. redirects should be created automatically when the handle changes, or just create redirects that point to a tag filter blog url i.e /blogs/main/tagged/new
- what’s the reason for that artificial constraint?
You’d have to use metafields, metaobjects, or nav menus to organize everything into groups.
And do advanced theme customizations to display everything.
Creating a whole rigamorale instead of taking advantage of the native url tag filter behavior i.e /blogs/main/tagged/news https://shopify.dev/docs/storefronts/themes/architecture/templates/blog#filter-articles-by-tag
Note: liquid has no dedicated way to internally tag filter without a url+tag endpoint to request the render, and metaobjects have a webpages feature as well for rendering custom structures to the frontend.
If you need advanced theme customizations, or supporting automations, then contact me for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Hi @kanbar1
The section you’re referring to is in the Manage Blogs area: screenshot here.
Each blog works similarly to a collection, and every blog post functions like a product. A blog can contain multiple blog posts, just as a collection contains multiple products. Here’s a helpful reference: screenshot here.
Currently, as you mentioned, there is only one blog called “Goft.” You can create new blog posts under this blog or set up a new blog and add blog posts to it.
Please let me know if you need further assistance!
Best,
Daisy - Avada Support Team.