Please Help! My WordPress Blog is Showing a Blank Screen

I recently made an upgrade to my other WordPress blog from version 2.8 directly to 2.9.2 by FTPing the 2.9.2 files over to the web host.

After the files were overwritten, I went to visit the /wp-admin dashboard page and it prompted me to upgrade the database.

OK, everything was fine and dandy until I went to visit my blog – BAM, a blank screen.

After a bit of research I found that other bloggers have said that most likely this is due to the plugins.

So here is what you need to do to fix it:

1.  Rename your /plugins folder to something else, I simply renamed it to /plugins1.  This will disable all of your plugins at once since WordPress can not find plugins in the folder where it knows exist.

2.  Now login to your dashboard by going to [your site url]/wp-admin.  Your log should be operation at this point.

3.  Enable your plugins one by one.  After each activation, pull up a new browser window and visit your blog.  If it becomes a blank screen again, you have just pinpointed the plugin that is causing the trouble.

4.  While staying in your dashboard’s plugin management page, click on Deactivate link for that plugin.

5.  If WordPress offers a link below that plugin to automatically upgrade the plugin, do it.  If not, download the latest version of the plugin from the developer’s website.  If this is not feasible, you may need to forget about using this plugin or downgrade your WordPress to a lower version.

—-

What I found

For me the culprit was the Redirection plugin (Manage all your 301 redirects and monitor 404 errors By John Godley)

Good thing the automatic upgrade link was available and it made the plugin upgrade a swift.

Go ahead and leave a comment below with plugins that you found to be “broken” or causes your WordPress to go blank after an upgrade.

Manage all your 301 redirects and monitor 404 errors

How to Add Google Analytics to WordPress

If your blog is hosted with Hostgator or any web host that provides cPanel, there is a web stats software called Awstats that gives you visual data about your website visitors.

Google Analytics is a free tool that collects traffic stats as well, however, it also gives you a lot more marketing data such as visitor behavior.  This tool is a must-have if you are serious about blogging and tracking results.

Another reason to install Google Analytics is it allows other people to view your website stats (of course, you control who and what the person can see), which is a great tool for potential buyers to verify your traffic if you ever decide to sell your blog.

Here are a few traffic data that Analytics tracks, as well as how you can best use the data:

  • Who (demographics) is visiting your blog, so you can customize your sales message for the audience.
  • What keywords they use to find your blog using the search engines, so you can write more blog posts for related keyword to dominate the entire search spectrum for that topic.
  • What are your top visited page, so you can pay attention to those pages and monetize it better.
  • What website refers you the most traffic, so you can focus on marketing more on those referred sites (ie. Facebook, forums, other blogs, etc.)
  • How long your visitors stay on a particular page, so you can improve and optimize low-performing pages (longer visit time means better reader engagement!)
  • What browsers, desktop/mobile platform your visitors are using, so you can make sure your site is cross-browser, cross-platform compatible.
  • You can also set up custom conversion goals, such as when someone subscribed to your blog, or when someone traversed through “sales funnels” you’ve set up, and bought your product.  This allows you test and tweak for maximum conversion.
  • And much much more…

Here are steps to add Google Analytics to your WordPress blog.

Sign Up or Login to Google Analytics

Head over to http://www.google.com/analytics.  If you already have a Google account, simply click on Access Analytics and sign in.  If not, click on Sign Up Now to create a new account.

google analytics sign up

Activate Google Analytics

Nothing to do here, but to click on Sign Up

google analytics sign up

Create New Site Tracking Account

You will be asked to fill out your website information that you want Google Analytics to track.  Follow the screenshot below and where applicable, fill in your own site’s information.

google analytics create new account

Copy Your Google Analytics code

Next, copy (Ctrl-C in Windows, or Command-C in Mac) the code provided to you:

google analytics grab code

Paste Code In WordPress Theme File

Login to your WordPress Dashboard and click on Editor link under Appearance metabox:

appearance-metabox

Then click on Header (header.php) and paste your Google Analytics code right before the </header> tag:

google analytics paste code

The reason why you should put your Analytics code in header.php is simple – heaader.php gets included in all pages and posts of your blog so putting your Analytics code there ensures all traffic information is captured.

Check Back Tomorrow!

That’s all.  You are done!  Google will now start collecting web traffic and visitor behavior information for you.  Feel free to explore some of its features and read up on some of the best practices with Analytics.

Check Your WordPress Blog For Possible Hack

I posted this a few a days ago about a widespread WordPress attack:

http://www.netpassiveincome.com/wordpress-mysql-injection-permalink/

If you haven’t already, go visit your blog and make sure you are not a victim of this recent attack.

Next Entries »

line
Powered by Wordpress | Designed by Elegant-Themes