5938
post-template-default,single,single-post,postid-5938,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

Web site design breaks or site doesn’t work after .htaccess password protecting /wp-admin directory

Web site design breaks or site doesn’t work 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 your site design breaks or some features don’t work.

This can be due to Ajax functionality failing because of the .htaccess authentication is blocking access to the Ajax functionality required by the web site.

Try this – simply add the following lines to top of the the .htaccess file in /wp-admin

<Files admin-ajax.php>
Order allow,deny
Allow from all
Satisfy any
</Files>

Hope this helps. 🙂

No Comments

Post a Comment