The Regex Redirects AI Mode is a powerful tool for creating custom redirects using regular expressions. This mode allows users to create redirects based on complex patterns in the URL, rather than just simple exact matches.
With this mode, users can create redirects that dynamically capture and reuse parts of the original URL in the destination URL, allowing for more flexibility and precision in redirects. Some examples of custom redirects that can be created using this mode include redirecting all pages under a certain category to a new URL, redirecting all URLs with a specific query string parameter to a new location, or redirecting all URLs that match a certain pattern to a new location.
This mode also allows to redirect by using regex pattern and to set up redirects for 404 pages and custom redirects for specific pages.
This mode is particularly useful for website administrators and developers who need to manage large numbers of redirects, and want to automate the process as much as possible.
Source: ^(.*)dark(.*)$ Target: $1purple$2/new/
Source: ^/oldcat/(.*) Target: /newcat/$1?replaced=true