Cookies setting

Cookies help us enhance your experience on our site by storing information about your preferences and interactions. You can customize your cookie settings by choosing which cookies to allow. Please note that disabling certain cookies might impact the functionality and features of our services, such as personalized content and suggestions. Cookie Policy

Cookie Policy
Essential cookies

These cookies are strictly necessary for the site to work and may not be disabled.

Information
Always enabled
Advertising cookies

Advertising cookies deliver ads relevant to your interests, limit ad frequency, and measure ad effectiveness.

Information
Analytics cookies

Analytics cookies collect information and report website usage statistics without personally identifying individual visitors to Google.

Information
mageplaza.com

How to Create Product URL Rewrites in Magento 2

Vinh Jacker | 06-20-2016

Create Product URL Rewrite

Creating the Product URL Rewrite means you can change the product link for better SEO and make your site more friendly with the visitors. However, during the rewrite process, you should know what Target Path and Request Path are.

  • The Target Path contains the internal URL that is used by the system, with the product ID. It is entered automatically, and grayed out.
  • Although the Request Path initially displays the current URL, it is the path that you are requesting.

Due to performance optimization, Magento 2 removed the feature of URL rewrites automatic regeneration. Hence, you have to create it on your own by following these 3 steps:

3 Steps to Create Product URL Rewrite in Magento 2

Step 1: Add the Rewrites

  • On the Admin Panel, Marketing > SEO & Search > URL Rewrites.
  • In the upper-right corner, click on the Add URL Rewrites button.
  • From the dropdown list of Create URL Rewrites, choose “For Product” option.
  • In the product list that appears instantly, click on the product which needs to be redirected to edit.
  • Hit the Skip Category Selection button, then navigate to the URL Rewrite Information section.

Here, the current product URL is included by the Request Path and the Target Path shows the internal URL that is used by the system. It is grayed out and not available for editing.

  • Set the Store to apply the rewrites if necessary.
  • In the Request Path field, insert the new URL key and suffix for the product.
  • Convert Redirect to Temporary (302) or Permanent (301).
  • Leave some description for the rewrite.

How to Create Product URL Rewrites URL Rewrite Information

  • Save to complete.

And now, you can see the new product rewrite at the top of the list.

Step 2: Update the Index

  • On the Admin Panel, System > Tools > Index Management.
  • Mark the Catalog URL Rewrites checkbox.
  • Choose Reindex Data for the Action.
  • Submit to update the index.

Step 3: Check the Results

Be careful to check the rewrite to ensure that it works perfectly.

Creating Product URL Rewrites in Magento 2 can bring better SEO performance for your store and allows customers to easily identify and revisit the page. In fact, we also have the Better SEO extension - a more complete solution that assists you greatly in the SEO optimization process. Feel free to message us if you need further help with the guide or the extension. Cheers!

Related posts

x
    Jacker

    With over a decade of experience crafting innovative tech solutions for ecommerce businesses built on Magento, Jacker is the mastermind behind our secure and well-functioned extensions. With his expertise in building user-friendly interfaces and robust back-end systems, Mageplaza was able to deliver exceptional Magento solutions and services for over 122K+ customers around the world.



    Related Post

    Website Support
    & Maintenance Services

    Make sure your store is not only in good shape but also thriving with a professional team yet at an affordable price.

    Get Started
    mageplaza services