5935
post-template-default,single,single-post,postid-5935,single-format-standard,select-core-1.5,pitch-theme-ver-3.4.1,ajax_fade,page_not_loaded,smooth_scroll,grid_1300,vertical_menu_with_scroll,blog_installed,wpb-js-composer js-comp-ver-6.4.1,vc_responsive

Missing WordPress Admin page 404 error after .htaccess password protecting /wp-admin directory

Missing WordPress Admin page 404 error after .htaccess password protecting /wp-admin directory

If you have protected your WordPress Admin folder (eg /wp-admin) using .htaccess authentication, you may find that when you try to access /wp-admin (or wp-login.php) and successfully enter the .htaccess username & password, the WordPress login page shows a “404” page missing error. Don’t panic – this is easily corrected. Simply add the following line as the first line in the .htaccess file in /wp-admin

ErrorDocument 401 default

Done 🙂

No Comments

Post a Comment