Webmaster Security

Security .htaccess file

Submitted by zackster, , Thread ID: 174509

Thread Closed

RE: Security .htaccess file

#5
16-06-2020, 09:53 PM
zackster Wrote:
# Block Wordpress sensitive directories and files
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]
</IfModule>

What exactly does this section do? Is it redirecting you back to the Wordpress homepage?
QuinNull

Users browsing this thread: 2 Guest(s)