related content in blogging

Related posts are the best way to encourage your blog visitors to read more and stay on your website longer. While a few posts are not a problem, it's really time-consuming to add related posts to a blog that has a significant number of articles.

But don't worry, Magento 2 Blog has you covered. It offers you both manual and automatic options which we'll discuss in this guide.

Note: before we start, note that auto-related blog posts are available only in the Blog Plus and Extra.

Before you get to adding related content in the posts directly, you need to enable it in the post view settings. For that navigate to Stores > Configuration > Magefan Extensions > Blog > Post View and enable a corresponding option.

Additionally, you need to choose a Template for the related posts and set a Number of Posts to display.

Auto-related Blog Posts in Magento 2

Don't forget to Save the settings before moving to the next step.

1. Navigate to Content > Blog > Posts and choose a post.

2. Scroll down to the Related Posts and Products section and hit the Add Related Post button.

3. Tick all relevant posts and click the Add Selected Posts button.

add related posts in magento blog

You'll see all selected posts back on the post editing page.

related posts in magento 2 blog

Note: you can add as many of the related posts in this section as you want. But the extension will only display the number of posts you've specified in the post view settings.

Save a post and check related posts for it on the frontend.

related posts magento

If you want to save time and let the extension do the job for you, enable auto-related blog posts. For that go back to the settings — Stores > Configuration > Magefan Extensions > Blog > Post View > Related Posts and set the Enable Auto Related Related Posts option to Yes.

The generation algorithm is based on post content and titles. This means the extension finds similar words in your blog and uses them to generate related posts.

So, if you don't want to use some words for related post generation, specify them in the Black Words For Auto Related field. You don't need to enter one-letter words e.g. (I, 1, 2) since the extension already skips such words.

Auto-related Blog Posts in Magento 2

Since related posts are generated automatically by cron make sure Magento crons are running properly in your store. And give them some time to do the job, especially if you have a lot of posts to generate related posts for.

Note: if you have added some related posts manually and then automatically generated the others, articles added manually will have more priority.

Each auto related post is marked correspondingly. So, If some unrelated articles are generated, just go to a blog post editing page and remove them from related.

Related Products and Blog Posts in Magento 2

Related blog posts keep your audience engaged and increase the time on the website. However, that's not the only option on the blog post page that boosts engagement. Explore the possibilities of the related products and learn how to automate them with rules to boost conversions.