A custom rewrite which is the tool that helps you manage all redirects from your website to another site. You can redirect a product, product catalog or even a page to another website by using a custom rewrite.
The difference of this redirection is that you have to create a new page for custom redirects instead of selecting a page already in your store
The custom rewrite ensures that your store is moved to a new website address even though customers still search for your store at the old address on the search engines.
Some people have a trouble because of confusion between “Redirect to” and “Redirect from”
Before starting the redirection, make sure your address you enter is correct
For example: Custom Path
http: //www .new-website. com/new-page.html
- product.html - category.html
Admin sidebar, go to
Marketing, then Select
SEO & Searchcolumn
Request Pathis exists, according to the instructions below:
Request Pathcolumn then click
Search. Search results will appear and choosing the one that is suitable with your store view then click
Editto open the redirect record in edit mode.
Add URL Rewrite
Saveto complete. The new rewrite show at the first list
You can easily test the result by going to the home page of your store then navigate to the original “Redirect from” page and then after the store URL, you enter the name of the original “Redirect from”. Then select
The result is the “Redirect to” page will appear instead of the original “Redirect from” page
It comes to the end of the tutorial: Magento 2 Custom Rewrites: Create and Test .
Posted by Hana in Start. July 06, 2018