Redirects
Last updated
Last updated
Navigate to Sites -> Sites Settings -> Module -> Redirect
Click "Create URL Rewrite Set" and enter the name of the configuration set.
Edit the URL Rewrite Configuration Set.
Click Add URL Rewrite.
Choose between Single or Batch configuration.
Configure the URL (you can choose regular expressions or not) and the rewrite content (you can refer to the example configuration rules below).
Apply the URL Rewrite Configuration Set to the domain:
Click on Domain Management.
Click on the domain you want to redirect.
Edit Domain -> Advanced Settings -> Select your custom URL redirection settings.
From: http://aaa.com/any-URI redirect to http://bbb.com/
URL (Regular Expression): (http|https):\/\/aaa.com\/(.*)
Rewrite to: https://bbb.com/$2
In the regular expression, each set of parentheses can be referenced in the rewrite field as $1, $2, etc
Format: <redirect code> <URL> <Rewritten URL> Example: