Fix for wordpress breaking mod_rewrite/friendly URLs

If you’ve just upgraded WordPress and find that when you browse your blog your web browser displays the following message

“the server is redirecting the request for this address in a way that will never complete.”

To fix this all you need to do is edit one file in the WordPress installation.

The problem is due to the canonical redirection functionality, it redirects incorrect permalinks to their correct ones.

To disable that functionality edit /wp-includes/canonical.php and comment out the last line:
[code]add_action(‘template_redirect’, ‘redirect_canonical’);[/code]
change to:
[code]//add_action(‘template_redirect’, ‘redirect_canonical’);[/code]

Here’s the post on the WordPress support forum that details the problem and solution

This post was at first intended as a note to myself, so that in the future when i update WordPress and find my blog does an infinite loop then I can quickly change it.
I then decided to keep the post open, so that others with the same problem can quickly search and fix it!

Update RSSread to 1.5

RSSread 1.5 fixes a couple of bugs that were discovered by Luis.

Some links in the feed weren’t being parsed correctly if they included a “&” (&) character.
This only becomes apparent if the value of the tag is not wrapped in a <![CDATA[]]> tag.
This is due to the way xml_parse() handles special characters like “&” (&)

I have also fixed a couple of bugs that might occur for the other tags.

You can download the updated version from:
http://downloads.roganty.co.uk/?get=/rss_read
-Or-
http://www.phpclasses.org/browse/package/2831.html

Instructions for updating your version of RSSread can be found in this post here

Update RSSread to 1.4

RSSread 1.4 fixes a bug that effects the layout of posts when viewed with no shortening

It is down to a little spelling mistake, that I haven’t noticed before now.
In three places i used “nr” instead of “rn” which caused single new lines not to show up, whereas double new lines (or more) would not display the proper number of new lines.

In this release another bug is fixed in posts when viewed with shortening enabled.
This bug only became apparent when the previous bug was fixed, and it is to do with some of the for loops in the shortenPost() function.

You can download the updated version from:
http://downloads.roganty.co.uk/?get=/rss_read
-Or-
http://www.phpclasses.org/browse/package/2831.html

Rename your original rss_read.class.php as something else, for example old_rss_read.class.php and then extract the new rss_read.class.php file into the same folder.
You will now need to open both files in a text editor of your choice, and start copying any of the variables that you changed from the old file into the new one.
Now save the new file and close the text editor.
Browse to the page that includes/uses RSSread to verify that your settings are still the same.
Weldone, you have now updated RSSread, and moved all of your settings over to the new version.
If there are any differences, you will need to double check that the variables in the new file have been over writen with the variables from the old file.