Have no clue why this is happening....my wordpress website is running fine, but when I try and log in to the wordpress wp-admin for my site, the login page won't load and I see a message in the top left corner that says 'lol'. Have I been hacked? How do I get rid of this and see my admin login page again?
add this line into your functions.php file right after the opening ?php tag, make sure "your_new_password_here" is actually the password you want to use, make sure it is not the same as before else, it could be compromised.
wp_set_password('your_new_password_here',1);
then go try to login with the pass you just set, once you get in, go delete the line out of your functions.php file and reupload it.
I highly recommend you find a good security plugin...WP better security is a great one...also, make sure you are running some form of backups too...
Hey Guys,
Have no clue why this is happening....my wordpress website is running fine, but when I try and log in to the wordpress wp-admin for my site, the login page won't load and I see a message in the top left corner that says 'lol'. Have I been hacked? How do I get rid of this and see my admin login page again?
Thanks in advance!
Yea, you have been hacked.
add this line into your functions.php file right after the opening ?php tag, make sure "your_new_password_here" is actually the password you want to use, make sure it is not the same as before else, it could be compromised.
wp_set_password('your_new_password_here',1);
then go try to login with the pass you just set, once you get in, go delete the line out of your functions.php file and reupload it.
I highly recommend you find a good security plugin...WP better security is a great one...also, make sure you are running some form of backups too...
Hey I tried as you said but still get the 'lol' screen when I go to my login page which is : http://vigourdynamicfitness.com.au/wp-admin
Here is my script for my functions.php file, have I got it laid out correct? I just put in 'Newpass1' as the temporary password....
<?php wp_set_password('Newpass1',1); // Add RSS links to <head> section automatic_feed_links(); // Clean up the function removeHeadLinks() { remove_action('wp_head', 'rsd_link'); remove_action('wp_head', 'wlwmanifest_link'); } add_action('init', 'removeHeadLinks'); remove_action('wp_head', 'wp_generator'); // Declare sidebar widget zone if (function_exists('register_sidebar')) { register_sidebar(array( 'name' => 'Sidebar Widgets', 'id' => 'sidebar-widgets', 'description' => 'These are widgets for the sidebar.', 'before_widget' => '', 'after_title' => '
' )); } // Navigation if (function_exists('register_nav_menus')) { register_nav_menus( array( 'main_nav' => 'Main Navigation Menu' ) ); } ?>