Categories
CMS Magento Mastering Development

Magento 2.3 – List redirect with dubble slash // sign after domain

For some reason our Magento 2.3.5 store redirects the product url on the category list page, that we load using the default code <?= /* @escapeNotVerified */ $_product->getProductUrl() ?>, to the product with a double slash sign after the domain.

So the url on click become; https://www.domain.com//url-to-product-page and then Magento redirects it to a page with 1 slash like: https://www.domain.com/url-to-product-page

Is there a way to remove this double slash from the url by default?

Leave a Reply

Your email address will not be published. Required fields are marked *