The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. MarceFX
    Posted 4 years ago #


    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?


Topic Closed

This topic has been closed to new replies.

About this Topic