2

I'm working with a catalog in M2 that has been somehow migrated (don't know how). It has url_path migrated and has the form of url_key + html. This is causing the URL rewrites to create URLs that end with http://example.com/.../.html.html.

Looking a the DB and code, it looks like it's for bundle or configurable products but still unclear what it is for. Removing them from simple and configurable products don't seem to have any affects.

Any ideas if url_path data is need for anything?

  • In the M2 sample-data product doesn't have any value for url_path. So I think deleting url_path values for a product should not harm. But for categories, it's important as they have hierarchies. – MagePsycho Aug 6 '17 at 12:58
  • I can also confirm the issue if url_path has [url-key].html value then url_rewrites will be full of .html.html value. Seems to be the bug for me. – MagePsycho Aug 6 '17 at 13:14

Your Answer

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

Browse other questions tagged or ask your own question.