Back to Top

Blank Screen of WordPress Admin Panel

Blank Screen of Wordpress Admin Panel

Before last two days, One strange issue happened with me that is I was working on one word-press site and I have installed one plugin, I got blank screen for some pages and I have thought that plugin is causing the issue and because of the plugin whole site stop working.I thought the bad plugin that was affecting my whole site and first of all, I have fully removed that plugin from a site and still my site was getting a blank screen.

So I was frustrated and concerned my team members for same and by their suggestions, I have turned off all plugins,switched from my theme to default theme, have removed htpassword/htaccess file,changed permalinks, update database from backup, I have tried lot of possibilities, but all steps failed to resolve the issue. To do all those things I have spared my lot of time so I was in tension also.

Finally, I was started searching for issue in Google and got the solution for that issue and solution was totally surprising me so now I want to share about WP blank page problems with you. Maybe this helps someone.

I was checking all files by applying die; one by one in all files and I have checked my wp-config file for same and I got that my wp-config file was creating a problem so let’s see my wp-config file.

define('DB_NAME', 'test');/** The name of the database for WordPress */
define('DB_USER', 'username');/** MySQL database username */
define('DB_PASSWORD', 'password');/** MySQL database password */
define('DB_HOST', 'localhost');/** MySQL hostname */
define('DB_CHARSET', 'utf8');/** Database Charset to use in creating database tables. */
define('DB_COLLATE', '');/** The Database Collate type. Don't change this if in doubt. */
* Authentication Unique Keys and Salts.
* Change these to different unique phrases!
* You can generate these using the {@link secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
* @since 2.6.0
define('AUTH_KEY', 'YQ#AQ1b_5WvJW-M_J!aQ');
define('SECURE_AUTH_KEY', '-Ax#s=wTaAJ_Y/AFdLF7');
define('LOGGED_IN_KEY', 'RG9XW-a$(UQXXB%Y#/k5');
define('NONCE_KEY', 'H=7ZhTGU#&O4C$p!ZCp#');
define('AUTH_SALT', '4sbGYuJZ0/_dZVj6J=QE');
define('SECURE_AUTH_SALT', 'ya64VA- zav/DOQT04Tk');
define('LOGGED_IN_SALT', '[email protected]&BWj5');
define('NONCE_SALT', 'L_khBWd8xB $r3=O)TyQ');

$table_prefix = 'wp_';/*WordPress Database Table prefix.*/
define('WPLANG', '');

/* That's all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');


You should also read:

WordPress Multisite Explained
To migrate WordPress from subdomain to subdirectory
WordPress site into maintenance mode Without Plugin
To maintain session in WordPress

And I found there are extra blank lines after the closing PHP tag “?>” and that was caused the whole things.So Be sure If there is an extra space after the actual end of the wp-config file, delete that space.

Amazing! I removed that spaces and everything worked fine and the site seems as it is.

Comments (7)

  1. Thanks for some other fantastic article. Where else may just anyone get that kind of information in such an ideal method of writing? I have a presentation next week, and I am at the look for such information.

  2. Hello there, simply changed into aware of your weblog through Google, and found that it is really informative. I am going to be careful for brussels. I’ll be grateful in the event you continue this in future. Many other people will be benefited out of your writing. Cheers!

  3. There are some fascinating closing dates on this article however I don’t know if I see all of them heart to heart. There may be some validity however I will take maintain opinion till I look into it further. Good article , thanks and we wish extra! Added to FeedBurner as effectively

  4. I conceive this internet site has got some real excellent information for everyone. “The expert at anything was once a beginner.” by Hayes.

  5. Thanks this article help me a lot! In my case the extra space was in functions.php, but thanks to your instructions now I can breath again đŸ˜‰

  6. Hi there, You’ve done a great job. I will definitely digg it and personally suggest to my friends.
    I am sure they’ll be benefited from this web site.

  7. Theree is certaiinly a great deal too know about this subject.
    I love all of the points you have made.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

How to create Bootstrap Switch using CSS

Posted on 3 years ago


Hello world

Updated 1 month ago

Nick Carter

In depth Understanding of Laravel Core

Updated 3 months ago


ECMAScript 6 New Features – 2

Updated 1 year ago


The Reader’s Poll – August 2014

Posted on 5 years ago


The Reader’s Poll – June 2014

Posted on 5 years ago


The Readers’ Poll – May 2014

Posted on 5 years ago