Your store position in Google or other search engines depends on your SEO strategy. There are a lot of factors SEO is based on and even more things that depend on SEO, website traffic in particular.

Magento 2 Blog is one of the best ways to drive more traffic to your website. So we added the best SEO practices to our Blog Extension to make your blog pages rank.

And in this article, you're going to learn about blog permalink settings — SEO-friendly blog URLs.

To manage Blog Permalink Settings, go to Stores  > Configuration > Magefan Extensions > Blog and find Permalink Settings section.

Blog Index Page Route

1. Blog Route indicates the blog's base URL. 

If you want the pages of the blog to be accessible from, please set 'news' in this field.

2. Enable the Auto-redirect to No-Slash URL option to set all blog URLs to end without a slash.

3. Set the Permalink Type.

If you choose Default, the URLs of the blog pages will look as follows:{blog_route}/post/post-title/{blog_route}/category/category-title/{blog_route}/archive/2017-10/ 

And if you choose Short, the URLs of the blog pages will look like these:{blog_route}/post-title/{blog_route}/category-title/{blog_route}/2017-10/

Blog Permalink Settings

This is the blog post URL with the default permalinks type:

Blog Post Links with Default Permalink Type

And this is the blog post route with the short permalink type:

Blog Post Link with Short Permalink Type

Blog Post Route

1. Set the Post Route.

If you want the URL of the post to look like{blog_route}/article/post-title/, set the 'article' in this field.

Note: post route is available only if you enable the Default Permalink Type.

2. Set a value that will be added to the end of each post URL in the Post URL Suffix field.

For example, you can set a '.html' in order to make the URL of the article to look as follows:{blog_route}/post/post-title.html.

3. Enable the Use Categories Path for Post URLs, to include the category path to the post URL.

Blog Post Permalink Settings

If you decide to use categories path in blog posts URLs they will like this:

Category Path in Blog Post URL

Blog Category Page Route

1. In the Category Route set the URL of a category.

If you want it to look like{blog_route}/group/category-title/, set the 'group' in this field.

2. In the Category URL Suffix field set a value that will be displayed at the end of each category page URL.

For instance, you can set the '.html'  and make the URL of the category to look in this way:{blog_route}/category/category-title.html.

3. Enable the Use Parent Category Path for Category URLs option, if you want the parent category path to be included in the category URL.

Blog Category Page Permalink Settings

Category page URL with the parent category will look like:

Parent Category in Category Page URL

And if you also enable the Use Categories Path for Post URLs option blog post route with subcategory and parent category will look like the following:

Parent Category Route in Blog Post URL

Blog Archive Page Route

For the blog archive page URL, you only have to set Archive Route.

For example, you can set  the 'history' to make the URL of the archive page looks as follows:{blog_route}/history/2016-02/.

Note: the date in the achieve page URL is generated dynamically, so you can't configure it.

Blog Archive Page Route

Blog Tag Page Route

1. In the Tag Route you set a path for the tag page URL.

For example, you can assign the 'label' and it will make the URL of tag page looks like:{blog_route}/label/tag-name/. 

2. Set the Tag URL Suffix to define the value blog tag page URL will end with.

Blog Tag Page Route

Blog Author Page Route

1. Set a path for the author page URL in the Author Route.

For example, you can set the 'writer' to make the URL of authour page looks accordingly:{blog_route}/writer/author-name/.

2. Enter the value you want blog post author page URL to end with, in the Author URL Suffix field.

Blog Author Page Route

Blog Search Page Route

In the Search Route just define a path to the search page URL.

For example, you can assign the 'find' to make the URL of the search page looks as follows:{blog_route}/find/query/.

Blog Search Page Permalinks

Once you finish with the permalinks configuration, don't forget to press the Save Config button.

However, that's not all.

With the Magento 2 Blog Plus and Extra editions, you can use the Advanced Permalink Settings for your blog. 

What is the benefit? 

It provides you very flexible blog pages route configurations. You can even remove the blog route from all blog pages:

  • blog post

Blog Post Route

  • blog category page

Blog Category URL Route

  • blog author page

Blog Author Page URL

Check this article on the benefits of using Blog Plus and Extra to learn more about advanced permalink settings and other interesting features.