All-In-One-SEO Page Title Rewrite Not Working

I wrote a post yesterday about how to SEO your page title and permalink while keeping the page name short for the top navigation list.

Well I ran into a snag. It didn’t work. No matter what I did, I couldn’t get the Page Title to rewrite.

I geeked out running one analysis after another. It took over 2 hours of testing and reading to figure it out.

When I did it was a hunch that resolved the issue. Since I didn’t find anything on this I thought it would make a good post.

Short and Sweet. It was the gzip handler I had installed here at the lab.

Back in January I wrote this post on Enable Gzip Compression

The last step in that process is to add this line of code in the header.php file ABOVE ALL OTHER CODE.

<?php ob_start(“ob_gzhandler”); ?>

When that code is in place, All-In-One-SEO page rewrite doesn’t work.

That’s it.   I removed the gzip code and the title rewrite works great.   I’m not geek enough to know why, and I don’t know if there is something Michael Torbert can do to make this work on sites enabling Gzip compression.   I hope so.   Otherwise I’m left with a choice I don’t want to have to make.

Here at the Lab giving up Gzip compression was easy.   The site loads fast and . . . well . . .   Its the Lab.

Not All Gzip Compression is Equal

I know this isn’t the case in all situations.   I know that Bluehost has Gzip enabled on their servers using a different way of doing it than I outlined in the post mentioned above (Which is how you have to do it on GoDaddy).   I have several sites on Bluehost with native Gzip enabled and there is no conflict.

Comments

  1. Thank you SO MUCH, Dave! My All in One SEO pack’s title rewriting wasn’t working either and I spent so much time trying to figure out what was wrong. I tried it and it worked. You’ve helped me a lot 🙂

    Jack.