WordPress plugin for handling large volumes of legacy redirects in a scalable manner.
Bot releases are hidden (Show)
wpcom_legacy_redirector_preserve_query_params
filter to allow for the whitelisting of params that should be passed through unmodified to the redirected url.Usage:
add_filter( 'wpcom_legacy_redirector_preserve_query_params', function( $preserved_params ){
array_push( $preserved_params,
'utm_source',
'utm_medium',
'utm_campaign'
);
return $preserved_params;
} );
props jigneshnakrani088, mdbitz
Published by philipjohn over 8 years ago
wpcom_legacy_redirector_redirect_status
filter for redirect status code (props spacedmonkey)wpcom_legacy_redirector_allow_insert
filter to enable inserts outside of WP CLIprops spacedmonkey, bswatson