WPCOM-Legacy-Redirector

WordPress plugin for handling large volumes of legacy redirects in a scalable manner.

Downloads
72.6K
Stars
19
Committers
20

Bot releases are hidden (Show)

WPCOM-Legacy-Redirector - v1.3.0 Latest Release

Published by mdbitz about 7 years ago

  • Cleanup of PHP Notices
  • Addition of 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

WPCOM-Legacy-Redirector - v1.2.0

Published by philipjohn over 8 years ago

  • Composer support
  • Introduced wpcom_legacy_redirector_redirect_status filter for redirect status code (props spacedmonkey)
  • Reset cache when a redirect post does not exist
  • Introduce the wpcom_legacy_redirector_allow_insert filter to enable inserts outside of WP CLI
  • Fix for WP-CLI check

props spacedmonkey, bswatson

Package Rankings
Top 11.39% on Packagist.org