February 20, 2020 at 2:28 pm
Hello,
After I activate the Kadence AMP plugin, it adds the below code to the very bottom of my htaccess file. The problem is, this code is incorrect because I use a directory for my WordPress files, as in “./folder_name/index.php”. I am able to fix the issue by deleting the line of code added to my htaccess file, so I do not need any help necessarily, this is just an FYI to you.
I have tested this a couple of times, and I noticed that this error did not happen when I activated other plugins.
# 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
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress