WordPress 2.7 and the Redirection Plugin

I’m in the process of upgrading blogs to WordPress 2.7, mostly without any serious problems. The biggest disappointment so far has been with Redirection Plugin, which is a fairly crucial part of the overall system.

I knew there had been a big upgrade to the plugin because I’d run the auto update on a WP 2.6 blog, and the newer version seemed over complicated for what I do, so I thought I’d be able to upgrade the WordPress whilst retaining the older version of the plugin.

The trouble with that route is that the dashboard interface on WP2.7 doesn’t seem to be compatible with the options tabs in the older plugin, so I resigned myself to living with the newer plugin version. It didn’t translate the old redirections table into the new format so I reverted. Then I tried again with a fresh install of the latest plugin, without any legacy data. It didn’t create the default modules and groups and failed to allow me to create them either.

So as far as I’m concerned, the latest version of Redirection doesn’t seem to work at all with WP2.7

The old version still works as far as honouring existing redirections and creating new ones, but the dashboard is crippled so that the logs cannot be accessed. That means the handy 404 error monitoring, which by the way is less usable in later versions, is inoperable.

Investigations continue…

This entry was posted in wordpress and tagged . Bookmark the permalink.

Comments welcome via facebook:

7 Responses to WordPress 2.7 and the Redirection Plugin

  1. It sounds like this is one of the few items that didn’t transfer well to the new version of WordPress. One good thing is that this has reminded me of the Redirection Plugin, so that I can set it up if it appears to be beneficial to reroute people to 301 pages instead of 404 pages. I am sure you will have a functional setup in a short period of time.

  2. tdaxp says:

    I am having a simlar problem — I have been using the redirection problem to make sure that people who my site feeds through old addresses (like wp-atom.xml instead of /feed/atom) can still get them. Now that no longer works, and I cannot see the settings page for redirection either :-(

    • Andy Roberts says:

      The only way I found to upgrade the plugin from a legacy 1.* installation successfully in the end was to run the upgrade to version 2.x in order to get at the Options page, then choose the Delete Redirection which removes the database tables and all legacy settings for the plugin. Then you can install the plug afresh and this time it will work, setting up the default modules and groups.

      This leaves the problem of copying back in all the redirection data from the old version, which I failed to automate but could be done in theory with a bit of mySQL code or some command line programming with awk or grep.

      I discovered that the import from csv file doesn’t work very well, even with a file created by exporting to csv from Redirection itself, but the import and export via .htaccess format does work OK.

  3. Andy Roberts says:

    I’ve been upgrading other blogs to WordPress 2.7 over the past few days and I’m closing in on the problem here. I’ve learned that this statement

    “the latest version of Redirection doesn’t seem to work at all with WP2.7″

    is incorrect. I don’t know what went wrong with the fresh install I reported above, but what I’ve discovered is that WordPress installations that had already upgraded the Redirection plugin to 2.0x worked OK when updated to WordPress 2.7 and then the latest Redirection, which is currently 2.1.4 and seems to be getting updated every few days at present.

    So the problem I’m left with is how to convert the legacy Redirection database from the old structure to the new, a process that was handled automatically in early 2.x versions but no longer it seems.

    Some clues:

    There was an option to remove the plugin entirely in some versions.
    There’s an import function but it only deals with formats from existing .htaccess file, a CSV file, or a Redirection XML.

    I’ll probably have to do some tweaking of the mySQl table itself.

    Coincidentally, a post by Jeff:

    Another Reason for Using Less WordPress Plugins

  4. Kristof says:

    @Andy – THANK YOU!

    This has been driving me completely nuts. I have two blogs using this plugin. Both are WP 2.7 and both use the same theme and plugins. But redirection was only working on one *pulls hair out*.

    I tried your suggestion and deleted redirection via the redirection options tab. It deleted the tables and deactivated the plugin. When I re-activated the plugin, all was working perfectly.

  5. sandrine says:

    I like your analysis and mannner of speaking, thank you for this interesting ticcket, it s always nice to visit this beautiful blog :)

  6. Jonathan says:

    I’m still stuck with this problem… I’ve uninstalled all my other plugins, but still whenever I activate the redirection plugin the blog breaks and I get this:

    Fatal error: Call to undefined method RE_Database::_weak_escape() in /home/rock4172/public_html/digitalframeguy.com/wp-includes/wp-db.php on line 487

    Anybody come across this one before?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv badge