Unable to activate
-
Hi there,
When I try to active the plugin I receive the notification regarding placing the code in my .htaccess file.
I go to place the code and see it’s already there, but beneath the # BEGIN WordPress line like so:# BEGIN WordPress
# The directives (lines) betweenBEGIN WordPress
andEND WordPress
are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.# BEGIN Images to WebP
<IfModule mod_mime.c>
AddType image/webp .webp
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_FILENAME} “/wp-content/”
RewriteCond %{REQUEST_FILENAME} “\.(jpg|jpeg|gif|png)$”
RewriteCond %{REQUEST_FILENAME}\.webp -f
RewriteRule ^(.+)$ $1\.webp [NC,T=image/webp,E=webp,L]
</IfModule>
# END Images to WebPI remove it and place it above the # BEGIN WordPress line, but when I try to activate the plugin again the message comes up and the code is back in the wrong place as well as the code I moved to the correct place.
Any idea what I’m doing wrong?
Thanks for your help!
Kind regards,
JP
- The topic ‘Unable to activate’ is closed to new replies.