M2.2.x: Hreflang Tag Support - Fix the layer navigation URL issue

Created by Rosa Truong, Modified on Thu, 8 Oct, 2020 at 3:18 PM by Rosa Truong

If the site has many storeviews/websites, when enabling the module Hreflang Tag Support on Magento 2.2.x, it causes the issue layer navigation URL.

To fix this issue, we would like to prove the hot-fix solution.

We have modified this file app/code/Bss/HrefLang/Block/HrefLang.php


Please check and overwrite the file above as the attachment on your site to solve the issue.


If you have any issues, please feel free to contact us.

We'd like to help.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article