I have disabled Use Categories Path for Product URLs, so the product URL

Example: www.example.com/product-url

Which is fine.

But I have added some products which have visibility as search only.

When I am searching these products then search results are fine. But the search products URL is not same as above example.

URL is as www.example.com/catalog/view/id/213.

If I change visibility as catalog or catalog,search then the URL with url-key as exam

How can I change URL as www.example.com/product-url ?

1 Answer 1


You can set a redirect 301 to correct product url, in .htaccess or in backend in Marketing > SEO & SEARCH > Url rewrites


Create an url rewrite for product in backend with target url www.example.com/product-url

  • 1
    If I hit the url-key with base url it is showing 404 error. Commented Apr 12, 2018 at 9:13
  • Is it possible without doing this? Commented Apr 12, 2018 at 9:16
  • Did you find any solution for this im facing the same issue but no result Commented Aug 5, 2021 at 11:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.