itheme security modifies the .htaccess file and deletes the permalink code.
-
Greetings.
The itheme security plugin generates problems in the website because it updates the .htaccess file and removes the permalink code.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
causing the site to generate the 404 error.
I have contacted the server provider and they have created a new .htacces file with the following code.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressRewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]]And it works but then it goes back to update the .htacces file and removes it causing the site to show 404 error.
the server provider suggested that I contact you to review the script.
The page I need help with: [log in to see the link]
- The topic ‘itheme security modifies the .htaccess file and deletes the permalink code.’ is closed to new replies.