WordPress Footer Missing After Website Hack

Getting hacked with WordPress is not a great thing to experience. Did you take a look at the Hardening WordPress codex page? Most of the time you get extra PHP code in some of your WordPress Core, Theme and plugin files. I guess this happened to you too and tried to remove this. Could it … Read more

Verifying that I have fully removed a WordPress hack?

Have you identified the exploit vector? If not, you may be leaving yourself open to future exploit. Other things to consider: Change WordPress admin user passwords – done Change Hosting account user password Change FTP passwords Change MySQL db user password – done Change the db table prefix Update your wp-config nonces/salt Check your directory/file … Read more

New user is assigned 2 roles: customer and superadmin

To restore super admin to just the admin username: <?php update_site_option( ‘site_admins’, array(‘admin’) ); ?> Place a PHP file with this line in your /wp-content/mu-plugins/ directory and access any site URL. Once done you can delete the file. Alternative you can edit the site_admins key directly in the wp_sitemeta table (but the first is easier … Read more

How to locate & delete hidden pages on a site

Posts/pages are stored in the wp_posts table. So you could get into the table and delete records. But, not recommended, unless you really know what you are doing with the tables. My procedure would be to re-install WP (from the Update page; reinstall WP), then delete any non-WP (the ‘Twenty*’ ones) themes, and remove all … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)