Skip to main content

How to configure related landing pages

This guide explains how to enable and configure the Related Landing Pages feature, which displays a "Related Searches" block with links to relevant landing pages on product, category, and landing pages.

To configure the feature, go to Stores -> Configuration -> Mirasvit -> Landing Page -> Related Landing Pages.

tip

After saving the configuration, clear the Magento cache to apply changes.

1. Enable the feature

Set Enable Related Landing Pages to Yes.

note

After enabling, the product index must be rebuilt to populate the data. There are two ways to do this:

  • Admin notification: after saving the configuration, the page reloads and displays a notification — "Related Landing Pages feature has been enabled. Please rebuild the index to populate the data." Click the rebuild the index link in that message to run the reindex directly from the admin panel.
  • CLI: run the following command:
    bin/magento indexer:reindex mst_landing_page_product

In the Maximum Links field, define how many related landing page links will be displayed in the block. The default value is 10.

3. Configure block positions

Specify where the block should appear on each page type using the position fields. The syntax is:

  • container — appends the block to the end of the container (e.g., content, content.aside).
  • container/- — prepends the block to the beginning of the container (e.g., content/-, sidebar.main/-).
  • Leave empty to disable the block on that page type.

Set the desired position for:

  • Product Page Position — product detail pages.
  • Category Page Position — category listing pages.
  • Landing Page Position — landing pages created with the module.

4. Customize the block title

Enter a custom heading in the Block Title field. The default title is Related Searches.


For descriptions of all available settings, see the Related Landing Pages configuration page.