All notable changes to this project will be documented in this file, per the Keep a Changelog standard.
Unreleased - TBD
1.10.0 - 2020-12-03
410 Gone
status code to the list of HTTP status codes andsrm_additional_status_codes
to add additional status codes (@dinhtungdu, @helen, @PopVeKind via #215).- Option to ignore query parameters, previous behaviour still available via the new
srm_match_query_params
filter (props @braders, @dinhtungdu via #196). - Extracts redirect matching logic from
maybe_redirect
tomatch_redirect
method, plussrm_match_redirect
function to expose matching redirect logic to themes and plugins (props @nicholasio, @dinhtungdu via #198). - Redirect Post ID to response headers where a redirect rule is invoked (props @jamesmorrison, @dinhtungdu via #218).
- Banner and icon images (props @lea10up via #209).
- Documentation and unit test updates (props @noplanman, @dinhtungdu, @noesteijver, @jeffpaul, @davidegreenwald, @barryceelen via #195, #200, #207, #210, #211, #213, #219, #224).
- Use proper hook for setting up
SRM_Redirect
(props @dinhtungdu, @WPprodigy via #203). - Regression related to wildcard matching (props @amyevans, @dinhtungdu, @jeffreybetts via #217).
- Missing
order
column in CSV import WP-CLI command (props @barryceelen via #220).
- Bump
lodash
from 4.17.15 to 4.17.19 (props @dependabot via #214).
1.9.3 - 2019-11-20
- Allow for escaped values on
_redirect_rule_from
, useful when importing regex (props @raymondware via #163) - Check
current_user_can
cap later to prevent the notice being thrown during Jetpack sitemap cron event runs (props @rebeccahum via #178) - Updated tests and documentation (props @adamsilverstein, @jeffpaul, @helen via #173, #179, #180, #181, #184, #190, #192)
- Check correct meta field when updating notes (props @lucymtc, @adamsilverstein via #154, #185)
- Bump WordPress version "tested up to" 5.3 (props @jeffpaul via #193)
- Update the logic for wildcard matching to properly match URLs with query parameters (props @adamsilverstein, @mslinnea via #182)
- Bump lodash from 4.17.11 to 4.17.15 (props @dependabot via #183)
1.9.2 - 2018-11-27
- CLI list function name for PHP 5
1.9.1 - 2018-11-26
- SQL injection bug opened up by SQL search functionality
1.9 - 2018-04-03
- Redirect notes feature
- Filters for request path and redirect path
- Filter to only apply redirects on 404
- Instantiate classes in main file instead of individual files for improved testability
- PHP 7.2 errors
1.8 - 2017-12-08
- Custom redirect capability
- Improved escaping
- Code refactor
- Root redirect in sub directory bug
- Broken html
1.7.8 - 2015-12-16
- SQL injection bug and no search terms warning
1.7.7 - 2015-06-18
composer.json
file
- Make default redirect status filterable
- Delete capability on redirect post type
1.7.6 - 2015-02-13
- Redirection plugin importer. Props @eugene-manuilov
- Use
home_url()
instead ofsite_url()
. Props @swalkinshaw - Don't redirect if redirect to location is invalid. Props @vaurdan
1.7.5 - 2014-09-09
- Plugin icon/banner
- Don't always lowercase matched parts in redirect to replace. Props @francescolaffi
1.7.4 - 2014-09-05
- More unit tests
- Case sensitivity redirection bug.
1.7.3 - 2014-08-26
- Unit tests
- Check if the global
$wp_query
is null before usingget_query_var
. Props @cmmarslender
- Making
_x
translatable text work. Props @lucspe
1.7.2 - 2014-02-10
- French translation. Props @jcbrebion.
- Don't perform redirects in the admin. Props @joshbetz.
- Prevent duplicate GUIDs. Props @danblaker.
1.7.1 - 2013-12-12
- 307 redirect status code. Thanks @lgedeon
- Status code labels to creation dropdown. Thanks @chanceymathews
- Plugin textdomain should be loaded on init
1.7 - 2013-04-06
- Allow for regex replacement in from/to redirects
- Slovak translation. Thanks Branco Radenovich
- Return
redirect_from
onget_permalink
. Thanks @simonwheatley
- Notice in
filter_admin_title
1.6 - 2012-12-11
- Bulk delete redirects from the Manage Redirects screen
- wp-cli coverage including subcommands for creating, deleting, and listing redirects, and importing
.htaccess
files
1.5 - 2012-11-07
- Regular expressions allowed in redirects
- New filter
srm_registered_redirects
allows you to conditionally unset redirects based on context, user permissions, etc. Thanks @jtsternberg for the pull request.
1.4.2 - 2012-10-17
- Disable redirect loop checking by default. You can filter
srm_check_for_possible_redirect_loops
to enable it.
- Only return published redirects in
update_redirect_cache
.
1.4.1 - 2012-10-11
- Refresh cache after
create_redirect
call - Refresh cache after
save_post
is called - Chop off "pre-WP" path from requested path. This allows the plugin to work on WP installations in sub-directories.
1.4 - 2012-10-09
- Use the
*
wildcard at the end of your match value to configure a wildcard redirect. Use the same symbol at the end of your redirect to value in order to have the matched value be appended to the end of the redirect. Thanks @prettyboymp for the pull request - Include an informational
X-Safe-Redirect-Manager
header when a redirect occurs. Thanks @simonwheatley for the pull request
- Default request-matching behavior to be case-insensitive. This can be modified using the
srm_case_insensitive_redirects
filter.
1.3 - 2012-09-19
- Globalize SRM class for use in
themes/plugins/scripts
create_redirect
method to make importing easier
1.2 - 2012-09-01
manage_options
capability required to use redirect manager
- Hide view switcher
- Hide privacy stuff for bulk edit
- Checkbox column
- Search feature
1.1 - 2012-08-28
is_plugin_page
function
plugin_url()
used properly
1.0 - 2012-08-27
- Plugin released