You can use the Redirect plugin to redirect simple routes but also use it for more advanced route matches. See some examples below.
Source URL:
oldpage/wont/work/anymore
Destination URL:
newpage/will/work/again
Source URL:
oldpage/wont/work/anymore
Destination URL:
https://www.newwebsite.com/newpage/will/work/again
Source URL:
category/<catname>/overview.php
Destination URL:
overview/category/<catname>/index.html
Source URL:
cars/<brand>/<dontusepart>/<color>/index.html
Destination URL:
overview/cars/<brand>/colors/<color>
*note: it is not required to use all the source parameters in the destination URL
Source URL:
books/detail
Destination URL:
book-detail/<bookId>/index.html
Example: the original url looks like:
books/detail?bookId=124
After the redirect, the url will look like:
book-detail/124/index.html
Source URL:
wholepath/<options:.+>
Destination URL:
otherpath/index.html?cat=<a>&subcat=<b>
Example: the original url looks like:
wholepath/this/is/a/long/path/with/params?a=1&b=2&c=4
After the redirect, the url will look like:
/otherpath/index.html?cat=1&subcat=2
Click here for the main readme.