3.7.2. Custom URL Rewrites
MageSuite gives the possibility to add Custom URL Rewrites. This is especially useful when launching a new shop on MageSuite and having old URL which were crawled and indexed by search engines.
Using this feature you can e.g. add a redirect new URL to the old URL.
In order to add Custom URL Rewrites access STORES / SETTINGS / CONFIGURATION and navigate to GENERAL and then WEB. Expand the CUSTOM URL REWRITE section. In the LIST OF REWRITES input field you can enter the URL rewrites using following structure (one URL rewrite per line):
{original_path}|{target_path}|{status_code}
In the URL structure above following placeholders are used:
{original_path}: URL of the old link
{target_path}: URL of the new link which should point to the original path
{status_code}: Status code for the Custom URL Rewrite, such as „301“ for a permanent redirect or „302“ for a temporary redirect. Per default a 301 redirect is used here in case this parameter is empty.
When the URL rewrites are added in the input field click “SAVE CONFIG” in the top section on the
right- hand side.46
_________________________________________
46 Due to performance issues it is recommended to not use more than 10 URL rewrites.