recommended addition to .htaccess blocks websiteremote updating
-
The setup for the site is a wordpress install in a separate directory (/cm)
I added the lines recommended by wordfence to help reinforce my site.
The problem is that the extra coding blocks the updating service of websiteremote..htaccess file is:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://my-domain.com/$1 [R,L]<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /cm/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /cm/index.php [L]
</IfModule>If I remove the first 3 lines, my websiteremote updating service works, but am I making the site vulnerable to attack (again)
Wordfence v.6.3.16 installed
The page I need help with: [log in to see the link]
- The topic ‘recommended addition to .htaccess blocks websiteremote updating’ is closed to new replies.