Fix for WordPress 3.1 broken permalinks

After the update to  WordPress 3.1 many complain about the permalinks not working anymore. Pages and category links are broken.

There is a quick fix that solves the problem and make all pages, post  and categories work again.

The problem is into one of the plugins that are installed.

Until now, 2 plugins have been reported as containing bad code. “Simple Tags” and “Multipage Toolkit“.

In order to fix your WordPress, edit the plugins mentioned above and replace the line:

$wp_rewrite->flush_rules();

with

/* $wp_rewrite->flush_rules(); */

After that, rebuild your permalinks structure: go to Permalinks page and press “Save Changes“. Some recommend to  do it twice.

Whenever you install another plugin search for flush_rules() into its code. It is not recommended to use it. Any other plugin containing this line of code $wp_rewrite->flush_rules(); has big chaces to break the permalink structure.

Konad nail art Romania

Leave a Reply

You must be logged in to post a comment.