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!

Changes to Website

I’ve just made a few changes to my website, and this crosses off another item from my to do list!

The changes I have made is to move the programs section to my development site

I have also combined the Javascript and the JS Games section into one
And I have updated my Site Map

The next thing I’m going to do is add the new Photo section, which will be separate from the About section

I think I have added a link to all of my sections in this single post!

Until the next time
See you

I’ve just got over a cold or the flu!

I woke up Friday morning afternoon at about 12:30, and I had a slight headache!

I made myself some eggybread for breakfast lunch
I then went back to sleep for another half an hour and woke up still with my headache.

I went out shopping with my girlfriend to asda and then the mall, and I just couldn’t stop shaking

I had an early night that night, honest, well nearly midnight is early! Lol!

I woke up this morning with a slight headache, but i wasn’t as bad as last nights, and I’ve had this headache all day now!

I’ve been on my computer all day, but I haven’t managed to make any of my planned updates to my website!
But I have added the SRG Clean Archives plugin to my blog.
I’m just going to post this entry and make sure that the changes I made to the plugin work before I let it loose!

Till next time
Stay well!

Edit: It works!

The night after the night before!

This is the first night/day after the last day of working nights

We finished working at 6am, and went to bed as soon as I got home. Woke up about 2pm, and I was feeling tired all day.
I was also feeling tired all evening, but for the past hour or two I’ve felt wide awake!

I’ve done a little bit of work on my website and blog, and have added a few touches to my Linux site, I’m now going to try and get some sleep tonight!

I’ll post again sometime this weekend!
Till then

Good night!

Getting ready for nights! Part 2

Right then, 24 hours on from my last post, bar an hour! And I have now been awake all night.

I went to sleep at 4:30pm ish, and I think I managed at least four to five hours sleep
I have now been up since 10:00pm yesterday, Saturday, is it really Sunday already!?

One side effect that I have had with getting up at 4:00am is that I have been hungry all day.
I had a Chinese when I woke up at 10:00pm and all night, or should it really be morning, my stomach has been rumbling!

Lets just hope that I can manage to sleep tomorrow, damn today!

Ill post again sometime today/tomorrow, which everyone comes first, cause I’m slightly tired and now very confused about dates!

Till then, sleep well!

15 Minutes before bedtime!

I’ve been working on my website all day, and I have managed to almost finish three out of my list of seven things to work on my website.

If any of you were lucky enough to be visiting my website more than five minutes ago then you would of seen “(new)” at the end of the title of every web page. That is because I have replaced the PHP classes I have used to create the site layout with three simple includes. There is only one part left to go and that is the blog, but thats next!

The next two changes are on the homepage.
One, I have got rid of the “Whats New” section.
And two, I have replaced my RSSread PHP program with some PHP to include the latest blog entries straight from the database!

I’ll post more details about changes as and when I complete them!
Till next time, see you!

Five minutes left till bedtime now, and the subscriptions plugin is working, but it sends an email even if I edit a post!

Getting ready for nights!

From Sunday I will be working from 9pm to 9am for the next four days. This is to help with the refit that is going on at the moment.

It is 5 o’clock in the morning and I’ve been up for and hour now! I’m going to be going back to sleep, if thats possible, at 4pm and then waking up again at 10pm so that I can then hopefully stay awake all night!

I will be taking this free time as a chance to update my website as I have a list of tweaks and fixes to do.
One of them is a subscription to this blog so that casual visitors and readers can receive emails when I finally write a new post!

I have already added the plugin, subscribe2, to wordpress, and now I’m just testing it out with this post!

I’ll post again tomorrow night.
Until then, stay awake!

New Computer Specs/Wish List

I have been doing a lot of research over the past couple of days, and I have some of the final specifications for my new computer all sorted out!

Processor: AMD 64 X2 3800+ – About £40

Motherboard: MSI K9N SLI-2F – £44.25
Its a motherboard using the NVIDIA nForce 570 SLI chipset

Memory: Corsair 2GB PC2-6400 XMS2 (2x1GB) – £49.99
Its just 2GB of memory!

Graphics card: ATi Radeon X1950 PRO 256MB PCI-Express – £69.95
I know it’s not top of the line, but it is going to be way more powerful than what I have at the moment, and what I will b using it for!

Total: £204.19
The price doesn’t include a Hard drive, PSU, CPU cooler, case, or an optical drive (DVD/CD drive), but it is the base system, and gives me an idea of how much it will all come to!

I am stuck on what case to get, I could do with one that puts the motherboard on the opposite side of the, which would mean the motherboard is upside-down!
This is because the computer will be sitting on my right, and the left side (looking at the computer) will be up against the side of the desk
At the very least I don’t want any vents or cooling fans on the left side!

The missing components for my computer will be:

  1. A 200GB SATA hard drive – About £30
  2. A 450W – 500W PSU – About £50
  3. A combo DVDRW and CD-RW SATA drive – About £20
  4. CPU Cooler – About £20
  5. Case – About £50

Total: £170

Total1: £204.19
Total2: £170.00
Total: £374.19
VAT @ 17.5%: £65.48
Total: £439.67

Nearly £450 for a computer, some of the figures are estimates, but post and packaging hasn’t been added to the total, so it could be more!
I don’t think the specifications for the computer are that bad, it will mainly only be used for web browsing, and general home use, I wont be playing games on it!

One thing that is on my wish list that I haven’t added is a TV card, but I’ll add that at a later date!

I will create a separate post when I get more details on pricing for the other components

Until then,
Bye

The prices for the above were taken from the Aria website

Whoops! My mistake!

Whoops, I made a mistake! I brought the wrong memory for my mini server. I brought the Corsair 1GB PC3200 Value Select (2x512MB) memory from Aria, but I should of brought the Kingston 256MB PC133 168 Pin SDRAM CL3!

I’ve brought the right one now, I got it from Amazon, and its the low profile one, so its the same as the one I have at the moment!

I’m going to keep hold of the memory I have for the time being! It might go into my new computer!

In this post I was going to write my specifications for my new computer, but I don’t have any time to as I’m going around my girlfriends in a little while, so I’m going to leave that to a separate post, hopefully tomorrow!

Till then
See you!