Craft plugin that provides an easy way to enter and maintain 301 and 302 redirects. The plugin provides a clear user interface for admin and non-admin users.
This is particularly useful if you are migrating pages from an old website and want to avoid dead links and want to keep the page ranks for the SEO. But also use full if you are making (big) changes in the site (url) structure.
The plugin also registers and shows the last hit date and hit count per visited redirect.
To Redirect, follow these steps:
- Install with Composer via
composer require dolphiq/redirect
from your project folder - Install plugin in the Craft Control Panel under Settings > Plugins
- The redirect plugin will be visible in the settings view on in the plugins section
Redirect plugin works on Craft 3.x.
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/dont/work/anymore
Destination URL:
newpage/will/work/again
Source URL:
oldpage/dont/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 look likes
book-detail/124/index.html
Johan Zandstra - [email protected] Brought to you by Dolphiq