/postname/postid/ to /postname/ permalink with 301
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


=== Plugin Name ===

Contributors: nabtron

Donate link: http://nabtron.com/

Tags: remove, post_id, postid, from, end, change permalink, redirect, permalink, postname, only

Requires at least: 4.2.2

Tested up to: 4.5

Stable tag: 1.0.2

License: GPLv2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Efficiently redirect previous urls that were '/postname/post_id/' to '/postname/' automatically. Respects query variables.

== Description ==

WP Redirect Permalink plugin allows you to efficiently redirect your previous urls that were '/postname/post_id/' to only '/postname/' that WordPress doesn't do automatically. This plugin respects and keeps the query variable in your url while changing the permalink structure.

If you've planned to change your WordPress permalink from /%postname%/%postid%/ to only /%postname%/ , although the old links still work fine, they're not automatically transferred to the new one without the post id in it. This can cause serious duplicate content issue for your site (can be seen and confirmed by Google webmaster tools).

This plugin removed those duplicated content issues by redirecting the visitor to the new permalink with a 301 (permanently moved) status code.

This plugin takes care of pagination of categories and blog list and allows them to work normally.

If you have any feedback, suggestion, request or bug report please let us know at: http://nabtron.com/wp-redirect-permalink/

== Installation ==

How to istall ?

  1. Download the plugin
  2. Upload entire folder "WP-Redirect-Permalink" to the "/wp-content/plugins/" directory
  3. Activate the plugin through the "Plugins" menu in WordPress

== Frequently Asked Questions ==

= Does it respect query variables? =

Yes it does. It keeps the ?variable= values for all variable. If you find any bug please report.

== Screenshots ==

  1. Screenshot-1.png

== Changelog ==

= 1.0.2 =

  • Confirmed WordPress 4.5 compatibility

  • Changed base function name from 'wp_permalink_redirect' to 'wp_redirect_permalink'

= 1.0.1 =

  • Fixed typo in Plugin name and URI

= 1.0 =

  • This is the first version of the WP Redirect Permalink

== Upgrade Notice ==

= 1.0.2 =

Confirmed WordPress 4.5 compatibility and changed base function name from 'wp_permalink_redirect' to 'wp_redirect_permalink'

= 1.0.1 =

Fixed typo in Plugin name and URI