Quick Page/Post Redirect Plugin

Wordpress Plugin
Download latest - 5.2.3

Developers

anadnet
prophecy2040

Download Stats

Today 138
Yesterday 251
Last Week 1,598
All Time 1,593,214
Banner 772x250

Current Version 5.2.3

This plugin has two redirect functionalities - "Quick Redirects" and "Individual Redirects":

QUICK REDIRECTS (301 Redirects)

Quick Redirects are designed to be quick and simple to add. You do not need to have an existing page or post set up to add one. You just put the Request URL and the Destination URL and the plugin will redirect it. This type of redirect is great for fixing typos when a page was created, redirecting old URLs to a new URL so there is no 404, and to redirect links from an old site that has been converted to WordPress.

INDIVIDUAL REDIRECTS (for existing pages/posts)

For pages/posts that already exist, the plugin adds an option meta box to the edit screen where you can specify the redirect location and type (301, 302 or meta). This type of redirect is useful for many things, including menu items, duplicate posts, or just redirecting a page to a different URL or location on your existing site.

For best results use some form of WordPress Permalink structure. If you have other Redirect plugins installed, it is recommended that you use only one redirect plugin or they may conflict with each other or one may take over before the other can do its job.

What You CAN Do (aka, Features):

  • Works with WordPress Nav Menus
  • Works with WordPress Custom Post Types (select setting on options page)
  • You can set a redirected page or menu item to open in a new window (Quick Redirects require Use jQuery? option to be set)
  • You can add a rel="nofollow" attribute to the page or menu item link for the redirect (Quick Redirects require Use jQuery? option to be set)
  • You can completely re-write the URL for the redirect so it takes the place of the original URL (rewrite the href link)
  • You can redirect without needing to create a Page or Post using Quick Redirects. This is useful for sites that were converted to WordPress and have old links that create 404 errors (see FAQs for more information).
  • Destination URL can be to another WordPress page/post or any other website with an external URL.
  • Request URL can be a full URL path, the post or page ID, permalink or page slug.
  • Option Screen to set global overrides like turning off all redirects at once, setting a global destination link, make all redirects open in a new window, etc.
  • View a summary of all redirected pages/posts, custom post types and Quick Redirects that are currently set up.
  • Plugin Clean up functions for those who decide they may want to remove all plugin data on uninstall.
  • Import/Export of redirects for backup, or to add bulk Quick Redirects.
  • Built-in FAQs/Help feed that can be updated daily with relevant questions.
  • Optional column for list pages to easily show if a page/post has a redirect set up and where it will redirect to.
  • Helper functions for adding or deleting redirects programmatically (see 'filters-hooks-helper_functions.txt' file in plugin folder for help and usage).

What You CANNOT Do:

  • This plugin does not have wild-card redirect features.
  • This plugin DOES NOT modify the .htaccess file. It works using the WordPress function wp_redirect(), which is a form of PHP header location redirect.
  • You cannot redirect the Home (Posts) page - unless you set a page as the home page and redirect that.
  • If your theme uses some form of custom layout or functionality, some features may not work like open on a new window or no follow functionality UNLESS you have the Use jQuery? option to set.

This plugin is not compatible with WordPress versions less than 4.0. Requires PHP 5.2+.

PLEASE NOTE: A new page or post needs to be Published in order for Page/Post redirect to happen for Individual Redirects (existing page is not necessary for Quick Redirects). It WILL work on a DRAFT Status Post/Page ONLY, and I mean ONLY, if the Post/Page has FIRST been Published and the re-saved as a Draft. This does not apply to Quick Redirects.

TROUBLESHOOTING:

  • To include custom post types, check the setting on the plugin option page - and you also can hide it from post types you don't want it on.
  • If you experience jQuery conflicts with the plugin, try turning off the Use jQuery? setting in the options page. BUT, please note that if this option if off, the new window and no follow functionality may be inconsistent (this mainly depends on how your theme is set up)
  • If you check the box for "Show Redirect URL below" on the edit page, please note that you MUST use the full URL in the Redirect URL box. If you do not, you may experience some odd links and 404 pages, as this option changes the link for the page/post to the EXACT URL you enter in that field. (i.e., if you enter '2' in the field, it will redirect to 'http://2' which is not the same as 'http://yoursite.com/?p=2').
  • If your browser tells you that your are in an infinite loop, check to make sure you do not have pages redirecting to another page that redirects back to the initial page. That WILL cause an infinite loop.
  • If you are using the Quick Redirects method to do your redirects, try to use Request URLs that start with a '/' and are relative to the root (i.e., 'http://mysite.com/test/' should be set to '/test/' for the request field).
  • If your site uses mixes SSL, use relative links whenever possible (i.e., '/my-page/'). The plugin is designed to detect the incoming protocol and try to apply the appropriate protocol to the destination URL.
  • Links in page/post content and links that are created using get_permalink() or the_permalink() will not open in a new window or add the rel=nofollow UNLESS you have the Use jQuery? option set.
  • If your page or post is not redirecting, this is most likely because something else like the theme functions file or another plugin is outputting the header BEFORE the plugin can perform the redirect. This can be tested by turning off all plugins except the Quick Page/Post Redirect Plugin and testing if the redirect works. Many times a plugin or bad code is the culprit.
  • We try to test the plugin in many popular themes and alongside popular plugins. In our experience, (with exception to a few bugs from time to time) many times another plugin is the cause of the issues - or a customized theme. If you do notice a problem, please let us know at info@anadnet.com - along with the WP version, theme you are using and plugins you have installed - and we will try to troubleshoot the problem.
  • Check the FAQs/Help located in the Plugin menu for more up to date issues and fixes.

Releases (43 )

Version Release Date Change Log
5.2.3 2022-03-10
  • **Security fixes
5.2.2 2021-01-03
  • **WordPress 5.6 compatibility check
5.2.1 2020-10-28
5.2.0 2020-07-30
  • **Resolved potential nonce vulnerability issue
5.1.9 2019-09-13
  • New Compatibility Tested from WordPress versions 4.3.19 up to 5.22
5.1.8 2016-04-24
  • Bug Fix: Used a different minified version for the qppr_frontend_script.min.js file after it received a false positive of being a Trojan. The 5.1.7 version is totally safe to use too. The false positive was caused due to the way the specific file was minified. This is a confirmation that nothing was infected or was acting as a trojan of any sort in any previous version.
5.1.7 2016-01-20
  • Bug Fix: Fixed Post redirects bug caused by 5.1.6
5.1.6 2016-01-15
  • Security Fix: Fixed security concern in the ppr_parse_request_new method
5.1.5 2015-11-10
  • Feature Addition: Add Canonical Redirect detection to fix potential www/non-www redirect match problems. Removed from TODO!
  • Deletion: Took out testing code that was accidentally left in the previous version.
  • Filter Addition: Added 'qppr_filter_quickredirect_index' filter to allow changing the the index just before the redirect. See filters-hooks-helper_funcitons.txt in plugin folder for usage.
5.1.4 2015-09-30
  • Feature Addition: Added filter to Meta Box call to allow people to adjust context and priority if they choose. See filters-hooks-helper_funcitons.txt in plugin folder for usage. Thanks mdmoreau for the suggestion!
  • Feature Addition: Added 'action=no-redirect' to be able to view a redirect page without the redirect triggering. Thanks One Eye Pied for the suggestion!
  • Bug Fix: Adjusted line ending characters for Import/Export to try to allow both Unix and Dos line break characters (LF and CRLF) on Import. Thanks Jose Luis Cruz for pointing this out!
  • Bug Fix: Fixed database query for jQuery localization funciton. Was a major resource hog on sites with a lot of posts and would crash MySQL on some sites.
  • Update: Fixed some spelling errors (thanks to those of you who pointed them out).
  • Update: Updated English Translations.
5.1.3 2015-09-18
  • Update: Updated English Translations.
  • Bug Fix: Fixed Meta redirect functions so browsers that no longer allow refresh redirects can still use Meta redirects (i.e., Firefox, Edge, some IE).
  • Bug Fix: Fixed Function for Individual Redirects for New Window functionality. Was not working unless both No Follow and New Window were selected.
  • TODO: Add New Window and No Follow to links where the URL has been rewritten. Currently if you rewrite the URL neither will work as they are referenced with the original URL, not the rewrite.
  • TODO (Still): Add Canonical Redirect filter to fix potential www/non-www redirect match problems.
5.1.2 2015-08-18
  • Update: Updated English Translations.
  • Update: Updated license.txt file (had wrong version of license).
  • Update: Verified plugin for WordPress 4.3 compatibility.
  • Update: Add check if current user can manage_options when deleting All Redirects. Prevents logged in users without permissions from maliciously deleting redirects.
  • Update: Minify JavaScript files for front-end and admin (non-minified files still remain in the file structure for reference).
  • Feature Addition: Added experimental function to delete cache files (for W3 Total Cache, WP Super Cache and WP Fastest Cache) on functionality saves (add/remove redirects and options updates) to try to help some users resolve caching issues after an update with these plugins installed.
  • Feature Addition: Added "helper" functions to allow for adding or deleting Quick and Individual Redirects programatically (see filters-hooks-helper_functions.txt in plugin directory for more info).
  • Bug Fix: Fix ajax function for Quick Redirect delete and save (if a redirect was deleted, anything below it would not be correctly referenced and deleting or editing would not work)
  • Bug Fix: Fix to 'rewrite URL' jQuery function that was replacing text instead of HTML - thanks Leo Kerr leo@myelectriccar.com.au
  • TODO (Still): Add Canonical Redirect filter to fix potential www/non-www redirect match problems.
5.1.1 2015-07-28
  • Fix 'array to string' error message on Quick Redirect save - thanks Simon Codrington simon@webbird.com.au
  • TODO: Add Canonical Redirect filter to fix potential www/non-www redirect match problems.
  • Added Meta Redirect Options Page - this splits out Meta Options from the main options page.
  • Added more enhanced meta redirect scripting to allow for tracking or other page content (including countdown if desired).
  • Fixed Layout issues on Quick Redirect Page making it impossible to edit redirects in some cases.
  • Fixed a few spelling errors.
  • Added Help Content to Meta Options page.
  • Added metabox setting for meta redirect seconds for individual redirects so you can set different time for each meta redirect.
  • Update POT and English Translation file - added limited Spanish translations.
5.1.0 2015-07-12
  • Fix security issue for deleting ALL Quick and Individual Redirects.
  • Update POT and English Translation file.
  • Added 'No Quick Redirects' message when there are no Quick Redirects.
5.0.7 2015-07-07
  • Added textdomain for future translations. English Complete.
  • Change Quick Redirects page to use ajax to save and edit existing redirects, instead of all redirects in post fields. This is to eliminate the 'max_input_vars' setting in php from stopping large numbers of redirects from saving.
  • Fix Metabox loading issues for custom post types.
  • Added 'redirect' column for post, page and custom post type listing pages.
  • Fixed sanitizing URL on saving of redirects (now will not strip encoded characters and spaces).
  • Optimized CSS styles and JavaScript files for admin.
  • Added Admin Pointers for new features.
  • Added jQuery script to front end pages to better handle New Window/No Follow Functionality.
  • Split out Import / Export feature to make it easier to find.
5.0.6 2015-05-08
  • Fix to some users getting Warning messages for parse_url function.
  • Added nonce field checking for Quick Redirects form to help eliminate the possibility of form takeover on submission of quick redirect saves.
5.0.5 2014-04-10
  • Fix to security flaw for logged in admin users.
  • Fix to extra spaces that broke some callback functions in the redirect class in 5.0.4.
5.0.4 2014-04-10
  • Minor bug cleanup
  • Security fixes: fixed possible cross-scripting vulnerability in saving of data to options.
  • Changed the hook call level for the redirects hook on normal redirects so it will not interfere with some other plugins.
5.0.3 2013-02-23
  • Minor bug cleanup update - (no new features added)
  • Bug fixes: Javascript ghost js file call fixed. Actions hooks not applying issue fixed. Querystring redirect issue addressed. Unset index errors addressed. Some Network/MU problems fixed.
  • Modified Import and Export scripts to export a more editable export file. Import can be either old encoded version or new readable PIPE version.
  • Typos and minor layout issues addressed.
5.0.2 2012-11-13
  • Bug fixes and jQuery now set to off until issues are resolved.
  • Set Case Sensetive to on by default - Some people having issues with infinite loops.
5.0.1 2012-11-12
  • Fix to jQuery conflict issue.
5.0 2012-11-12
  • Added jQuery version check to ensure no problmes with themes forcing older versions of jQuery
  • Added a few warning /info messages to Quick Redirects page.
  • Redirect summary was updated to display Quick Redirects as well as individual redirects. Now it is easier to see at a glance what redirects you have set up.
  • Rewrite of Quick Redirects functions to allow selecting Open in New Window (NW) and rel=nofollow (NF) as long as 'use jQuery' is selected.
  • Added "use jQuery" option on settings page - on by default after upgrade
  • Added jQuery redirect replace, target="_blank", and rel="nofollow" to increase success for additional options (mainly Quick redirects).
  • Changed out WP_PLUGIN_URL for plugins_url() to help resolve errors in redirects for SSL/https
  • Changed the way custom post types are handled.These are now on by default for new users - or users who have not specifically set to off.
  • The ability to turn off the Plugin Meta Box for any post type was added (admin permissions required).
  • Import and Export features were added to allow for backup of existing Quick Redirects, Restoring a backup or adding bulk redirects.
  • Plugin clean-up features were added to completely remove either Page/Post meta data (for regular redirects), Quick Redirects, or both.
  • Several filter and action hooks were added to help users better integrate the plugin into their theme, should they need additional functionality.
  • New FAQs/Help page with items provided by an RSS feed, so we can easily update FAQs when common questions/issues arise.
  • Query String data is now preserved for Quick Redirects (thanks to Jon Wilson for the contribution).
  • Case insensitivity option was added for Quick Redirects (thanks to Brian DiChiara for the contribution).
4.2.3 2012-02-06
  • Fix WP_PLUGIN_URL and replace with plugins_url() to help with redirects on SSL. (01/01/2012)
4.2.2 2011-07-14
  • Fix some embarrasing spelling errors.(07/14/2011)
  • Fix Quick Redirects links from inside the redirect edit box and plugin page - they would give a "not authorized" warning because the page location changed in version 4.0 (07/14/11)
4.2 2011-05-09
  • Fix to menus pages always opening in New Window even when not selected.(05/08/2011)
  • Fix Categories/Archives automatically redirecting to the fist post with redirect set if any post on the page had a redirect set.(05/08/2011)
  • Fix Homepage redirecting to first post with redirect set if using posts as home and any post had a redirect.(05/08/2011)
  • Fix misrepresentation of new window global setting on options page. Should read that "all redirects WILL open in a new window" not "will NOT open in a new window". (05/08/2011)
  • Update description to note that the plugin requires PHP 5+ because some of the class calls will not work in php4 (plugin will not activate). (05/08/2011)
4.1 2011-05-09

This upgrade contains new features and drastically reduces the plugin overhead on your site. It is strongly recommended that you updgrade.

4.0.1 2011-05-05
4.0 2011-05-05
  • Rewrite of all functions for better optimization.(05/01/2011)
  • Added consolidated DB call at class setup to reduce DB calls to one call per page load.(05/01/2011)
  • Moved entire plugin into a class for easier updates.(05/01/2011)
  • Added new Options page with Global Overrides.(05/02/2011)
  • Integrated Custom Post Types functionality.(05/02/2011)
  • Created a Summary Page for a quick glace of set up redirects.(05/04/2011)
  • Moved Quick Redirects menu from settings to a new Redirects Menu.(05/03/2011)
  • Added additional checks and validations when adding Quick Redirects.(05/03/2011)
  • Added a way to delete Quick Redirects easier.(03/01/2011)
3.2.3 2010-12-29
  • Fix New Window and No Follow attributes in themes with older menu calls. (12/29/10)
3.2.2 2010-12-17
  • Fix meta tag redirect method. Was broken because of new method of checking redirects with less query calls. (12/16/10)
  • Fix php code errors - still had some debugging code live that will cause some users to have problems.(12/16/10)
3.2 2010-12-13
  • remove functions ppr_linktotarget, ppr_linktonorel, ppr_redirectto and ppr_linktometa.(12/10/2010)
  • re-write functions to consolidate queries. (12/10/2010)
  • added new filters for New menu structure to filter wp_nav_menu menus as well as old wp_page_menus functions. (12/10/2010)
  • cleaned up new window and nofollow code to work more consistently. (12/10/2010)
3.1 2010-06-21
  • Re-issue of 2.1 for immediate fix of issue with the 3.0 version.(6/21/2010)
3.0 2010-06-21
  • Enhance filter function in main class to reduce Database calls. (06/20/2010)
2.1 2010-03-14
  • Fix Bug - Open in New Window would not work unless Show Link URL was also selected. (3/12/2010)
  • Fix Bug - Add rel=nofollow would not work if Open in a New Window was not selected. (3/13/2010)
  • Fix Bug - Show Link, Add nofollow and Open in New Window would still work when redirect not active. (3/13/2010)
  • Added new preg_match_all and preg_replace calls to add target and nofollow links - more effecient and accuarte - noticed some cases where old funtion would add the items if a redirect link had the same URL. (3/13/2010)
2.0 2010-02-28
  • Cosmetic code cleanup. (2/28/2010)
  • Remove warning and error messages created in 1.9 (2/28/2010)
1.9 2010-02-21
  • Added 'Open in New Window' Feature. (2/20/2010)
  • Added 'rel="nofollow"' attribute option for links that will redirect. (2/20/2010)
  • Added 'rewrite url/permalink' option to hide the regular link and replace it with the new re-write link anywhere the link is displayed on the site. (2/20/2010)
  • Hid the Custom Field Meta Data that the plugin uses - this is just to clean up the custom fields box. (2/20/2010)
1.8 2009-12-28
  • Added a new Quick 301 Redirects Page to allow adding of additional redirects that do not have Pages or Posts created for them. Based on Scott Nelle's Simple 301 Redirects plugin.(12/28/2009)
1.7 2009-12-28
  • fix to correct meta redirect - moved "exit" commant to "addtoheader_theme" function. Also fixed the problem woth some pages not redirecting. Made the plugin WordPress MU compatible. (9/8/2009)
1.6.1 2009-09-02
  • Small fix to correct the same problem as 1.6 for Category and Archive pages (9/1/2009)
1.6 2009-09-02
  • Fixed wrongfull redirect when the first blog post on home page (main blog page) has a redirect set up - this was redirecting the entire page incorrectly. This was only an issue with the first post on a page. (9/1/2009)
1.5 2009-08-31
  • Major re-Write of the plugin core function to hook WP at a later time to take advantage of the POST function - no sense re-creating the wheel.
  • Removed the 'no code' redirect, as it turns out, many browsers will not redirect properly without a code - sorry guys.
  • Can have page/post as draft and still redirect - but ONLY after the post/page has first been published and then re-saved as draft (this will hopefully be a fix for a later version). (8/31/2009)
1.4 2009-08-20
  • Add exit script command after header redirect function - needed on some servers and browsers. (8/19/2009)
1.3 2009-08-05
  • Add Meta Re-fresh option (7/26/2009)