Rob Cooper

…. anything is possible and nothing happens by accident

Solution: The Page Isn’t Redirecting Properly WordPress Error

How I fixed the “Page Isn’t Redirecting Properly WordPress Error”

the page is't redirecting properly wordpress error

Solution To The Page Isn’t Redirecting Properly WordPress Error


logging into wordpress and then going to any page other than the front page, would result in a “The Page Isn’t Redirecting Properly” error. This only occurred for logged in users (very odd)

What I Knew:

  • I had removed some plugins recently
  • I had switched some functionality from those plugins to a new plugin
  • Pages and posts loaded properly for normal website visitors
  • Logged in users got the “page isn’t redirecting properly” message
  • This error was new… since the changes
  • Was happening on WordPress 3.5.1 install
  • Wasn’t W3 Total Cache, as I removed the entries for redirection from .htaccess

Changes: Had recently removed some plugins because I had installed Yoast’s WordPress SEO plugin which duplicated some things the other plugins were doing.

  • Yoast WordPress SEO plugin: Does a (better?) job at creating an XML sitemap. Better? dunno, but I like the way he does it. I used to have the good old Google XML Sitemaps plugin by Arne Brachhold but then installed Yoast SEO. Deactivated Arne’s, removed that xml file listing from Google Webmaster Tools and then submitted Yoast’s sitemap to Google.
  • Remove Category Base: Removes category base from url’s changing from to Well, Yoast does that too on the Permalink settings at the top. A checkbox to check off.

I also cleaned up a bunch of deactivated plugins by deleting them.

I searched for a few things, ways to describe the issue but kept getting plugins that WANTED to redirect a logged in user but it was Jason Saggers post about the same issue that pointed me in the right direction.

Jason noticed that a Canonical URL Redirection plugin was the issue. He disabled it and voila.

That plugin was NOT my issue, but I realized that there was one thing I did that was related.

I removed a plugin that stripped category from my url, and set Yoast’s plugin to do the same thing. That setting is described above. It’s the first checkbox on the Permalinks setting tab.


unchcek that checkbox. For some reason, stripping the category base from the url for the permalink structure I was using was not computing for logged in users.

Note: the website in question uses year/month/day based URL structure and it seems Yoast’s plugin can’t handle it. I’ll have to let him know.

Incidentally, I actually used Google Webmaster Tools to try and track down my problem with the “page isn’t redirecting properly” error with no luck, but DID notice that images were now submitted to Google. yes, Yoast WordPress SEO inserts image entries into the sitemap. LOVE IT

Oh… and mozilla offers help for the page isn’t redirecting properly error too. (in case this didn’t help)

lips that touch liquor shall not touch ours

Lips That Touch Liquor

If you were around in 1919 and came upon this poster…

lips that touch liquor shall not touch ours

Wouldn’t you just keep drinking anyway?

Quad Rain Barrel Water Collection System

The plan was simple. Turn the entire front and back yards into raised bed gardening areas and grow our own fruit and vegetables. Well, with a big yard and lots of raised beds, we were going to need a LOT of water. This is the quad rain barrel water collection system I built for the back yard. It’s a neat little diy water saver system that anyone can make use of.

Four Rain Barrels Connected In Series

Rain Barrel Water Collection System

Four rain barrels, connected together by pipes from the bottoms. Not sure where I got the idea for this but it makes a lot of sense actually.

  • All rain barrels fill as a single unit
  • Utilizes a single garden hose connection point
  • Weight of rain water should theoretically create more pressure in hose
  • Any worm compost tea added to one barrel would be dispersed to all water
  • Neighbors will think you’re quite the inventor when they see it

You’ll see how the PVC pipe at the far end empties rain water into only one of the barrels. As it fills, the other rain barrels fill as a single unit as the water level remains the same throughout the system.

Building The Quad Rain Barrel System

First consideration was where the rain barrel water collection system was going to go. Then the height of the barrels had to be taken into account. Or rather, the height of the bottom of the barrels which would allow water to flow. Then connecting the barrels in series using elbows and pipe. Then setting them up so they could rest with enough support but still account for the bottom connectors. Finally, the 80 foot run of PVC pipe that carries rain water from the eaves to the barrels.

Building The Final Resting Place For The Barrels

rain barrels sit on sidewalk blocks and then cinder blocks

Sidewalk blocks are on the ground level, you can see three of them here. Basically, a solid flat foundation on which to rest the cinder blocks.

Bottom Connections In Rain Barrels

bottoms of the rain barrels

I bought elbow connectors for the bottoms of the barrels. Drilled a hole in the barrel to match and then glued it in place so that there was as least amount of lip left inside the barrel. I was trying to have the elbow level with the inside as much as I could. A small piece of black plastic pipe was connected to one end and allowed to dry before gluing the elbow into the barrel.

Barrels Sitting On Cinder Blocks

rain barrels connected in series via bottom pipe

With the rain barrels being connected by their bottoms, I had to sit each one on top of three up-ended cinder blocks. This allowed for some additional height and the connector pipes being unobstructed.

I prepared 2 rain barrels at a time, sitting them upside down and connecting them with T connections to the main flow pipe. Then, when it came time, they were turned right side up and the pairs connected.

Height of Rain Barrels
I wanted to have the barrels high enough so that gravity would feed the water to the raised beds. First layer was simple sidewalk blocks and then each barrel has three up-ended cinder blocks that they rest on. This allows for the pipe on the bottom to sit unimpeded (more on that later).

What I hadn’t considered when i first decided on the height of the final rain barrel water collection system was the distance of the run of PVC pipe that brought water from my eaves to the barrels (More on that later as well.)

In the end it seemed to have worked out well.

Planning For Expansion

water flow control and expansion connector for rain barrel
The hose connection was placed at the end farthest away from the fence, and closest to the actual garden. I saw another guy who planned in an expansion connector and thought it would be a good idea as well. This allows me to add a few extra barrels at a later time if I so desire. This connection uses a 4 way connector, not a T.

Routing Rain Water From Eaves To Rain Barrels

My shed sits on the far side of my garage, so to get the water from the eaves down spouts all the way from the front of my house, past the garage and then out past the shed required an 80 foot run of 3″ PVC pipe. I chose 3″ over 2″ just in case of any water sitting in it and freezing. I figure that the extra inch might allow for anything I may not have expected.

Planning The Slope To Allow Water Flow
With an 80′ run of pipe, the far end of the PVC has to be quite a bit higher than the end that empties into the barrels. The rain barrel end is already 4′ off the ground, and so I found that the far end had to be nearly 8′ high.

My neighbor had recently put in a new fence and I asked her permission to attach my pipe to it, explaining it would in no way interfere with the fence. In one spot, the pipe made use of a natural notch in a tree and for the rest of it, I had to put in braces and supports. Generally though, it was simply “zip-stripped” to the fence using zip ties.

Using String as a Guide
I cannot remember the formula we used for the slope, but for proper drainage, for every 10 feet of pipe, the pipe has to drop a certain amount. For 80′ of pipe run, I seem to recall it worked out to 2′ of drop. We ran a length of string from one end to the other with the slope figured in and tied securely.

Then when we connected all the pipe lengths together, followed the slope of the string as best we could.

The furthest point from the rain barrels and the highest point of the PVC pipe. Looks like it might be 9′ high actually and at this point, the PVC has a simple elbow connector that receives the end of the eaves down spout.

It’s resting on a 2×2 that has a piece of scrap metal wrapped around the pipe and screwed into the 2×2. It’s also zip-tied to the 2×2 as best as I could and the 2×2 is zip tied to the fence.

Another View of the Run of Pipe

Just another angle showing the length of run a bit better.

Further Down The Pipe

eavestroughs empty into PVC Pipe

This shows the rear of the house down spout emptying into the pipe as well as the garage roof (a little further back). The garage down spout was more of a horizontal run of spout that just barely had enough slope for flow. I expect that under heavy rainfall the rain gutter on the garage may fill up, so had to seal the connection at the garage with silicone as best I could to account for loss of water due to dripping there. Should work though.

Supporting The PVC Pipe

            Support for PVC Pipe

        PVC pipe tied to support

The support’s are simply a piece of scrap wood that has a half circle the size of the pipe cut out of it and then screwed into the 2×2. Should be fine by itself (as if it’s going to jump up and out right?), but I zip tied it to the support anyway.

Emptying Into Rain Barrel

water empties into rain barrel

The pipe makes a 90 degree turn at the barrel end of the run of pipe and then empties into the barrel. There is a hole about an inch larger than the pipe cut into the top. This allows for any settling or future movement of any sort.

The only thing I have yet to implement is a screen at this end to screen out leaves, squirrel poo or anything else I dont want in the barrels.

Overflow Valve

In case of overflow when the barrels fill up (all 220 wonderful gallons of it), I’ve run a sump pump hose from the top of the barrel further back along the fence line towards my compost pile. I figure a little extra soaking would do the pile good.

What is not seen in this photograph is the ability to reverse this little 4′ run of pipe from the fence line and route the pipe down to the ground for winter / spring.


  • Cost: $22 for each rain barrel, $180 for the PVC pipe (as I recall) and about $35 for the various connector joints and black pipe stuff
  • Time To Build: about 4 hours total, not counting drying time for the connectors overnight.
  • Durability: It’s made of plastic and PVC. It’ll be here when the dinosaurs come back.


  • Breather Holes: I’m not sure if I should be drilling little breather holes into the other rain barrels to allow for air pressure to exit when they’re filling. They should be fine, but I’m not sure
  • Rate of fill: I have no idea how fast these will fill because as of the time of this posting, I’ve yet to have more than 2″ of actual water collected in them, plus of course the rate of fill would be dependent on amount of rain falling. I’m not even going to bother trying to figure it out.
  • Weight of Water: Dont know and dont care. Barrels are sitting on 3 cinder blocks and those on top of FLAT sidewalk blocks which distribute the weight evenly. I’d not put three upright cinder blocks on the ground as they’d just bite in and the whole thing would likely become unstable.

Cautions and the Future

I’d suggest leaving the valve open in the late fall before winter so that water can leave the rain barrel water collection system. Ice would severely damage the pipes and connectors I’d guess.

As for the future, I’m wondering if I might want to plan in some shade. This came to me a few days ago but at the time of this writing, can’t remember why I thought that might be important. I’m sure it was a brilliant idea though.

Another idea would be to have some sort of other barrel system (albeit smaller) near the compost pile. That way I could route overflow water to another container and not just arbitrarily soak the pile. Some control over compost pile soaking might be a good idea. With the distance and the height though, would have to be a smaller barrel of some sort.

Rain Barrel Advice

I had a guy tell me something once about rain barrels around the time of upcoming rains that I thought I’d pass along. Seems pretty logical and everyone should know this, but I’ll pass it along anyway.

Rain barrels collect water to use at a later date when there’s been less rain or no rain. A rain barrel is only good if it’s storing or collecting rain water.

Therefore: if you KNOW it’s going to rain in the future (a few days or a week away), USE THE WATER in your rain barrels.

Empty them. Water your garden, your trees, soak down your compost and turn it over.

Then when it rains, you’ll have empty barrels ready for collecting rain water for use later.

now.. ideally you’d have a few days of warning which allows for a good soaking of your plants and then time for them to make use of that water before it rains again, but that’s an ideal world isn’t it. However, it goes without saying that when you make use of your rain barrel water collection system, you can target what gets watered down and by how much.

My rain barrel water collection system using 4 rain barrels was a fun little diy project to work on and I’m excited to finally see it collect rain water. After our first rain (and we’ve only had 2 this year so far), I went out to check on them and found it was empty. Worried about leaks, I went out during our second rain only to find that yes it was working but that I had left the hose connector valve open for the winter.

Solution: Cant Create Categories in WordPress

cant create categories in wordpressAfter having created a few categories in a new wordpress blog, suddenly had the issue arise where I can’t create wordpress categories. Could not edit categories or update categories. A quick search found others having similar problems, but no solutions. In a related matter, at the same time, I found I can’t update wordpress permalinks on the edit post screen. Well, suffice it to say, I found the solution and I’m posting it here for my own reminder.

Can’t Create WordPress Categories

You’ve created the blog, added categories, created posts and pages and everything was running just fine until one day, POOF! – the editor seemed to stall, and the “edit” button seemed to go into an infinite loop.

You may have found that you can’t edit categories in WordPress either. I tried that too. Tried to edit “uncategorized” into the new one I needed, but same deal. Didn’t matter if it was on the post edit screen or the create categories screen.

solution to follow …

Can’t update permalink

In a related issue, you may have found that you can’t edit permalinks either. The “Edit” button works, allowing editing of the url part of the post, but when you go to click the “OK” button, nothing happens and the button is unresponsive.

cant edit permalinks in wordpress

clicking the edit button works, but after editing, the OK button spins forever or does not respond at all

solution to follow …

This has been a frustrating experience for both myself and my client. It was he who brought it to my attention and even I could not get it to work. Googling the problem returned results that were 2 years old at the newest and solutions ranged from “edit the categories in the database”, to “insert a .htaccess file into your wp-admin folder”.

My first thought was The Solution Is In The Log Files!

The Solution

My log files showed repeated entries of PHP Fatal error: Allowed memory size of 33554432 bytes exhausted —- blah blah blah, showing various amounts of memory and various .php files and wordpress plugins.

The answer is quite simple actually:

Increase memory size!

Edit your .htaccess file located in the root of your domain structure to reflect something bigger than the default. My client’s site had a default memory limit of 32 Meg. I increased it to 40 Meg and suddenly could create categories.

insert this code in your .htaccess: php_value memory_limit 40M

The inability to edit permalinks was also corrected.

If you can’t create categories in wordpress or cant edit permalinks, first check your log files, and if you see memory errors, increase the memory limit.

Page 1 of 18

Powered by WordPress & Theme by Anders Norén