Create custom 401 and 403 error pages with any WordPress theme without writing a single line of code, set it up and forget it.
Apache users edit your .htaccess file and add the following lines.
ErrorDocument 403 /index.php?status=403 ErrorDocument 401 /index.php?status=401
Nginx users edit your nginx.conf file and add the following lines.
error_page 403 = /index.php?status=403 error_page 401 = /index.php?status=401
Try accessing a file or directory which is forbidden like
Did you see a custom 403 page in all the glory of your theme?
Requires: 3.3.0 or higher
Compatible up to: 4.3.1
Last Updated: 4 months ago
Active Installs: 1,000+
1 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?