Академический Документы
Профессиональный Документы
Культура Документы
If your WordPress username is admin, create a new user and grant them administrator privileges. Now logout out of WordPress, log in as the new user and change the privilege of the user admin from Administrator to Subscriber. You may even consider deleting the user admin and transfer any existing posts /pages to the new user. This is important for security reasons because we dont people to guess the username that has administrator privileges to our WordPress installation.
If you would like WordPress to stop guessing URLs and instead issue a 404 Not Found error for missing pages, put this snippet in the functions.php file:
add_filter('redirect_canonical', 'stop_guessing'); function stop_guessing($url) { if (is_404()) { return false; } return $url; }