I created a custom 403 page, but it's not displaying. Instead, this message appears after the default message:
"Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request."
Here's my code for the page:
Code:
<?php get_header("HTTP/1.1 403 Forbidden"); ?>
<?php get_sidebar(); ?>
<div id="content">
<div class="entry">
<h3>You have walked down a forbidden path...</h3>
<p>... please wander elsewhere</p>
<p> You are not authorized to view this page
You might not have permission to view this
directory or page using the credentials you
supplied.
You can search to look for information
on the Internet on HTTP Error 403 - Forbidden</p>
</div>
</div>
<?php get_footer(); ?>
</div>
</body>
</html>
Here's the URL of a page that is forbidden:
http://suefeng.com/wp-config.php