WSOD after upgrading to 3.1

I had the same issue after upgrading my local environment (wordpress/xamp). I ran http://localhost/wordpress/wp-admin/upgrade.php and then I could get back in to the admin. I then had to update the database and upgrade to 3.1 again. After that all seems to be fine. Hope it helps you too!

How to redirect a URL with parameters?

Your problem ain’t the parameters…it’s that your parametrized URL points to the wrong target…it has a .html where it should have a slash. …/windows-restarts-at-ec2.html?action=backlinks&wid… Change it to …./windows-restarts-at-ec2/?action=backlinks&wid… and you’ll see it works.

Scripts at the end of the page

The hook for registering the script in the footer is: <?php function my_init_method() { wp_register_script( ‘myscript’, ‘http://www.mydomain.com/js/myscript.js’,”,”,’true’); wp_enqueue_script( ‘jquery’ ); } add_action(‘init’, ‘my_init_method’); ?> be sure to look at this and this, both are important.

Hooking in to replace the Sidebar/Widget areas

You should look into having your sidebars utilize the remove action function. Then you can remove a sidebar and replace it in a function any number of ways. For instance (this examples using a conditional based on a page called some-page. function change_sidebar_yay() { if ( is_single(‘some-page’) ) { remove_action( ‘old_sidebar’, ‘your_function’ ); //this is … Read more