Redirections

Redirections

Redirections is a useful tool when migrating from an old website or creating permanent links (like QR codes).
To add redirections from an old URL to a new one, you need to go to the Redirections section of the website. Click on the Add Redirection Rule button at the top right of the page.

Standard Use

The standard redirection scenario involves creating a 301 permanent redirection from the Request URL (the old URL), to the URL of the selected target page and translation language of that page.

When entering the Request URL you can simply paste the full URL. There is no need to remove the protocol and host's name, i.e. simply paste the entire https://myold.website.com/content/redirections, no need to cut it down to /content/redirections. Saving the redirection rule will automatically remove any parts that are not needed.

Advanced Use

More advanced scenarios can be drafted by clicking on the "Advanced Options" link button.

Match Field

  • An Exact Match means that the Request URL will need to match exactly to the URL that a user visits.
  • A Regular Expression is an advanced form of pattern matching that can help to group redirection rules by finding common patterns between different request URLs. Please ask a developer if you are not familiar to how regular expressions work.

Ignore Trailing Slash Field

This switch box (ON/OFF) can only be used with the Exact Match option. It indicates that any trailing slash in either the Request or visited URL will be ignored. Thus, the https://www.example.com/test and https://www.example.com/test/ will be both handled by the redirection rule.

Query Parameters

OptionsDescription
Ignore & Skip ParametersAny ?param1=value1&param2=value2 GET parameters will be ignored when matching the Request URL and will not be appended to the target URL.
Ignore & Pass ParametersAny ?param1=value1&param2=value2 GET parameters will be ignored when matching the Request URL but will be appended to the target URL.
Match & Skip ParametersAny ?param1=value1&param2=value2 GET parameters will be used when matching the Request URL but will not be appended to the target URL.
Match & Pass ParametersAny ?param1=value1&param2=value2 GET parameters will be used when matching the Request URL and will be appended to the target URL.

Select Target

This select box determines what the action will be when the rules specified by the above fields match to the requested URL.

Target Page

This option allows to select an existing content page and its translated version that the visitor will be redirected to.

Target URL

This option allows to input any internal or external URL as the Target URL of the redirection.

Other

This option is used to handle the matching request with non-redirect HTTP responses. This is mostly used for providing special directions to search engines to remove the request URL from their indexes.

Redirect Status

StatusDescription
301Permanent Redirection from the original to the target URL.
302Temporary Redirection from the original to the target URL.
403Access is forbidden to the request URL (no redirection takes place).
404The request URL does not currently exist (no redirection takes place).
410The request URL no longer exists and will never be here again (no redirection takes place).

Any changes to the redirection rules will only ever take effect after publishing the website.


    • Related Articles

    • How-To: Use QR Codes

      QR Codes are a type of matrix barcodes usually including links to web pages. Hotels often uses such QR codes in marketing material or in room flyers, allowing guests to find more information about the services, facilities by scanning the QR Code with ...
    • Hotelwize for Online Marketing teams

      Hotelwize is designed with performance optimization and online marketing in mind. The support of online marketing teams is built in core functionality and our goal is to excess in: Performance (Page speed) SEO techniques Themes that support semantic ...