File: /home/equalitywalk.org.uk/public_html-20241004155753/wp-content/aiowps_backups/.htaccess.backup
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# BEGIN ZOTYA htaccess protect
# The directives (lines) between "BEGIN ZOTYA htaccess protect" and "END ZOTYA htaccess protect" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
# Stop Apache from serving .ht* files
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
# Protect wp-login
<Files wp-login.php>
AuthUserFile /home/equalitywalk.org.uk/public_html/.htpasswd
AuthType basic
AuthName "Restricted"
require valid-user
ErrorDocument 401 "Authorization Required"
</Files>
<Files admin-ajax.php>
order allow,deny
allow from all
</Files>
# END ZOTYA htaccess protect
# Deny access to wp-config.php file
<files wp-config.php>
order allow,deny
deny from all
</files>
# directory browsing
Options All -Indexes
<Files ~ "^.*\.([Hh][Tt][Aa])">
order allow,deny
deny from all
satisfy all
</Files>
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress