Magento Commerce, 2.2.x
Product Rewrites

Before you begin, make sure that you understand exactly what the redirectA method used to alert browsers and search engines that a page has been moved. 301 Redirect: Permanent change 302 Redirect: Temporary change is to accomplish. Think in terms of "target" and "original request," or "redirect to" and "redirect from." Although people might still navigate to the former page from search engines or outdated links, the redirect causes your store to switch to the new target.

If automatic redirects are enabled for your store, there is no need to create a rewrite when a product URL Key is changed.


Add URL Rewrite for Product
  • Field Descriptions

    Field

    Description

    Create URL Rewrite

    Indicates the type of rewrite. The type cannot be changed after the rewrite is created. Options:

    Custom

    For category

    For product

    For CMS page

    Request Path

    The product that is to be redirected. Depending on your configuration, the Request Path might include the .html or .htm suffix, and category.

    The Request Path must be unique, and cannot be in use by another redirect. If you receive an error that the Request Path already exists, delete the existing redirect, and try again.

    Target Path

    The internal path that is used by the system to point to the destination of the redirect. The target path is grayed out and cannot be edited.

    Redirect

    Determines the type of redirect. Options :

    No

    No redirect is specified.

    Many operations create redirect requests of this type. For example, every time you add products to a category, a redirect of the "No" type is created each store view.

    Temporary (302)

    Indicates to search engines that the rewrite is for a limited time. Search engines generally do not retain page rank information for temporary rewrites.

    Permanent (301)

    Indicates to search engines that the rewrite is permanent. Search engines generally retain page rank information for permanent rewrites.

    Description

    Describes the purpose of the rewrite for internal reference.