
Creating great content is not always enough to get ranked high in search. Except for the SEO-optimized content, you need to configure blog sitemap, canonical tags, breadcrumbs, metadata, rich snippets, etc. Shopify blog URL structure is also one of the important factors to pay attention to.
Our Shopify Blog App offer you very flexible permalink settings. So you can create SEO-friendly blog URLs.
Although the Shopify blog path will always be /a/blog, you can define the path to the post, category and other blog pages.
Note: the option to change blog pages paths is available in the Standard and Pro plans.
To configure the Shopify Blog URL structure:
1. Navigate to Apps > Magefan Blog > Configuration and scroll down to the Permalink Settings section.
2. Define Post Path Schema. Available variables here: {
{parent_category}}, { {id}}, { {year}}, { {month}}, { {url_key}}.e.g. some examples of the blog post URLs include:
- https://myshopify.com/a/blog/post/best-hotels-in-dubai
- https://myshopify.com/a/blog/best-hotels-in-dubai
- https://myshopify.com/a/blog/travel/best-hotels-in-dubai
- https://myshopify.com/a/blog/2022/10/best-hotels-in-dubai
3. Set Category Path Schema. Available variables here: {
{parent_category}}, { {id}}, { {url_key}}.e.g. some examples of the blog category URLs include:
- https://myshopify.com/a/blog/category/destinations
- https://myshopify.com/a/blog/destinations
- https://myshopify.com/a/blog/travel/destinations
- https://myshopify.com/a/blog/268/destinations
4. Specify Search Path Schema. Available variables here: {
{url_key}}.5. Define Tag Path Schema. Available variables here: {
{id}}, { {url_key}}.e.g. some examples of the blog tag page URLs include:
- https://myshopify.com/a/blog/tag/safari
- https://myshopify.com/a/blog/safari
- https://myshopify.com/a/blog/35/safari
6. Specify Author Path Schema. Available variables here: {
{id}}, { {url_key}}.e.g. some examples of the blog author page URLs include:
- https://myshopify.com/a/blog/author/veronica-costello
- https://myshopify.com/a/blog/veronica-costello
7. Set Archive Path Schema. Available variables here: {
{id}}, { {url_key}}.e.g. some examples of the blog archive page URLs include:
- https://myshopify.com/a/blog/archive/2023-03
- https://myshopify.com/a/blog/2023-03
Don't forget to Save the settings once you finish and, in case you've used a different blog URL structure before, create redirects to avoid 404 issues.
At the same time, the url_key for blog posts, category, tag and author pages is defined separately. Check the Shopify Blog User Guide to learn how to set it.