0

magento 2 one store click on product page giving www.abc.com/product1.html after switch on next language

it showing like this

catalog/product/view/id/15/s/tablets

if have any idea please tell me

1 Answer 1

0

This Issue occur, if the product was created before adding the new website/store/storeview (in other words website/store/storeview created after product is added). because Url rewrite for the product for that new storeview is not created so the url will be something like this catalog/product/view/id/15/s/tablets

One way to resolve this is, open the product in edit mode on backend and just save it. This will create rewrite Url for all available storeview.

4
  • it did this but not solved. text.com/… this url is for my english store. while switch in to another language store giving 404 error. but in another store url look like text.com/product/view/id/890/s/…
    – Pawankumar
    Jul 19, 2017 at 7:44
  • have you created product before creating store ? Have you created a new Store view or Website ? Jul 19, 2017 at 10:00
  • try reindexing and cache clean Jul 19, 2017 at 10:04
  • i created store views after that only imported products but each store having different names i tried re index and cache
    – Pawankumar
    Jul 19, 2017 at 15:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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