- Fixed an issue in the
Retour_StatsModel
- Exact matches are now checked before RegEx matches for static redirects
- Fixed the documentation that was incorrect about being able to add multiple FieldTypes to a single entry
- Replace 4-byte UTF-8 characters in
Retour_Statistics
before saving them, to avoid db errors
- Fixed a hardcoded table name in the
referrerUrl
migration
- Retour will automatically trim the
retour_stats
table to the last 10,000 redirects, sorted by date (configurable viastatsStoredLimit
inconfig.php
) - Add the URL to the stats title attribute, for cases where the display is truncated
- Respect
addTrailingSlashesToUrls
in the URLs returned fromgetLocalizedrUls()
- Updated README.md to note that importing
.htaccess
ignoresRewriteRule
- Added a
alwaysStripQueryString
setting toconfig.php
(defaults tofalse
) - Added a
stripQueryStringFromStats
setting toconfig.php
(defaults totrue
)
- Refactored and cleaned up the code
- Fixed some deprecated meta information in
RetourPlugin.php
- The
referrerUrl
has a maximum length of 2000 now - Fixed some typos in
README.md
- [Added] Added a referrer column in the Stats table
- [Added] Added additional logging in
devMode
- [Improved] No more default value for
redirectSrcUrl
column (could cause SQL exceptions in newer versions of MySQL) - [Improved] Updated CHANGELOG.md
- [Fixed] The
addTrailingSlashesToUrls
is now respected for dynamic entry redirects - [Improved] Merged pull request 'Fix retourMatch hook'
- [Added] Added a
statsDisplayLimit
setting toconfig.php
to control how many stats should be displayed in the AdminCP - [Improved] Merged pull request 'Limit returned results to template'
- [Improved] Merged pull request 'Allow handling of 404s from { exit } tags encountered while rendering templates'
- [Added] Added a config.php setting
createUriChangeRedirects
so that the URI-change redirects can be disabled on a per-environment basis - [Improved] Don't redirect to the welcome page if we're being installed via Console command
- [Improved] Moved the changelog to CHANGELOG.md
- [Improved] Query strings are now stripped from the incoming URI before redirect detection is done
- [Improved] Updated the README.md
- [Fixed] FieldTypes in multi-locale setups that are not translatable are now handled properly
- [Fixed] Fixed missing locale prefix for localized entries in the FieldType
- [Fixed] Fixed an issue where FieldType redirects had an errant / prepended to them
- [Improved] Better importing of
.htaccess
files - [Improved] Better error handling when importing malformed
.htaccess
files - [Fixed] Trailing /'s are no longer stripped from URLs added via the
+
icon from the Statistics page - [Fixed] Fixed an issue that would prevent RegEx's from matching as they should in FieldTypes
- [Improved] Updated the README.md
- [Added] Added the ability to import the redirects from a
.htaccess
file into Retour - [Fixed] Fixed a statics db error with empty referrers
- [Improved] Updated the README.md
- [Added] The Statistics and Redirects tables are now dynamically searchable and sortable
- [Fixed] Fixed an issue that caused redirects created via the
+
from Statistics page to not save - [Improved] Updated the README.md
- [Added] Adds support for locales in the automatic redirect that is created when a slug is changed for an entry
- [Improved] Retour will no longer let you save a static redirect with an empty destinationURL
- [Fixed] Fixed a typo in the Retour_StatsModel
- [Improved] Added a rant about
.htaccess
to the docs - [Improved] Updated the README.md
- [Added] If you hover over a 404 File Not Found URL on the Statistics page, you'll now see the last referrer for the 404 URL
- [Added] Added a + button on the Statistics page that lets you quickly add a 404'd URL as a redirect
- [Improved] We now store the destination for redirects in the FieldType as a URI rather than a URL, so that it's more portable across environments
- [Added] Structure entries that have Retour FieldTypes in them now have the destinationURL updated when the structure elements are moved
- [Improved] The widget now handles very long URLs more gracefully
- [Improved] Updated the README.md
- [Fixed] Fixed an issue with URLs that have umlauts in them
- [Fixed] Fixed an issue with URLs that are longer than 255 characters for the redirect statistics
- [Improved] Statistics are now limited to the top 1,000 hits
- [Improved] Updated the README.md
- [Added] Retour will attempt to prevent redirect loops when saving a new redirect by deleting any existing redirects that have the destUrl as their srcUrl
- [Added] Added a 410 - Gone redirect http code for permanently removed resources
- [Improved] Updated the README.md
- [Added] Retour will now automatically create a static redirect for you if you rename an entry's slug
- [Improved] Retour checks to ensure that no two redirects have the same redirectSrcUrl
- [Improved] The Statistics page handles really long URLs better now
- [Improved] If you save a redirect, either static or dynamic, with an empty Legacy URL Pattern, retour now deletes it
- [Improved] Updated the README.md
- [Improved] Revamped Retour to key off of the ElementID rather than the EntryID
- [Fixed] Fixed an issue with Retour and MySQL running in strict mode (which is the default in 5.7+)
- [Fixed] Retour will no longer try to save a record with a null id (caused a CDbCommand exception)
- [Fixed] A '/' isn't prepended to empty src URLs anymore
- [Improved] Updated the README.md
- [Improved] getRequestUri() is now explicitly used, and we immediately terminate the request upon redirect
- [Improved] We now pass in 0 instead of null for the cache duration
- [Improved] We now explicitly check for CHttpException
- [Improved] Updated the README.md
- [Fixed] Fixed a Javascript error with the FieldType Javascript
- [Fixed] Fixed a visual display glitch with the tabs on Craft 2.4.x
- [Improved] Updated the README.md
- [Added] Added a 'Clear Statistics' button to the Statistics page
- [Fixed] Fixed a bug when using RegEx for static redirects that would cause them to not work
- [Fixed] Fixed an issue with Craft 2.4.x
- [Improved] Updated the README.md
- [Added] The tables in the Statistics and Redirects pages are now sortable by any column
- [Improved] Fixed up the localization support for the FieldType
- [Improved] Minor changes/fixes to the plugin
- [Improved] Updated the README.md
- [Added] Added a Retour Stats widget
- [Added] Added information on the Statistics tab as to whether Retour handled the 404 or not
- [Improved] Updated the README.md
- [Fixed] Fixed faulty indexes that could cause Retour Redirect FieldTypes to not work properly
- [Improved] Spiffy new icon
- [Improved] Changing the display name of the plugin is now more globally applied
- [Improved] Updated the README.md
- [Added] Implemented a caching layer so that once a redirect has been determined, subsequent redirects are cached and immediately returned
- [Added] Added the ability to delete static redirects
- [Added] Added Composer support
- [Improved] Updated the README.md
- Initial release
Brought to you by nystudio107