WordPress.org

Forums

Redirect to 404 page when accesing w-includes? (1 post)

  1. MarceFX
    Member
    Posted 2 years ago #

    Hi,

    I don't want people going through my /wp-includes directory, so I'm using this rules on my .htaccess:

    Options -Indexes

    When someone tries to access mysite.com/wp-includes, he get the "403 Forbidden" server message. Is there any way to redirect the user to a regular 404 page without messing anything up on the WordPress installation?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic