Problem/Motivation

in drupal 7 and commerce 1 we have product display that reference to product.
in d8 the product itself have URL to display in public.
i think migration should transfer the product display path alias from d7 to d8 product for SEOand more reliability

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

rot3r1 created an issue. See original summary.

luksak’s picture

I have a working migration for my case. It replaces /node/ with /product/.

To be able to only run this on url aliases for nodes of the bundle product_display, this depends on the patch in this issue: #3122649: [PP-2] Derive path alias migrations per entity type (and bundle) Using this we are able to get only the relevant url aliases like this:

source:
  plugin: d7_url_alias
  entity_type_id: node
  bundle: product_display
damienmckenna’s picture

Status: Active » Needs review
Related issues: +#3122649: [PP-2] Derive path alias migrations per entity type (and bundle)
damienmckenna’s picture

Version: 3.0.x-dev » 3.2.x-dev
damienmckenna’s picture

Status: Needs review » Active