• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

AMPforWP Extensions

AMPforWP Extensions 05/05/2022

No permission to download
WARNING: ampforwp-purge-cdn-cache-2.0.3 crashed my site. Even if I remove all plugins I still have 500 Internal Server Error
 
WARNING: ampforwp-purge-cdn-cache-2.0.3 crashed my site. Even if I remove all plugins I still have 500 Internal Server Error
so its seems this plugin oweright your htaccess
please check htaccess
 
  • Like
Reactions: chm
so its seems this plugin oweright your htaccess
please check htaccess
You are 100% right !

Here is what the plugin append to .htaccess :

<Files "apikey.pub">
AddType text/plain .pub
Header add Cache-Control "max-age=300, public"
SetEnvIfNoCase User-Agent .*google.* search_robot
SetEnvIfNoCase User-Agent .*yahoo.* search_robot
SetEnvIfNoCase User-Agent .*bot.* search_robot
SetEnvIfNoCase User-Agent .*ask.* search_robot
Allow from env=search_robot
</Files>

So, what to edit here to make the plugin work properly ?

Thanks
 
You are 100% right !

Here is what the plugin append to .htaccess :

<Files "apikey.pub">
AddType text/plain .pub
Header add Cache-Control "max-age=300, public"
SetEnvIfNoCase User-Agent .*google.* search_robot
SetEnvIfNoCase User-Agent .*yahoo.* search_robot
SetEnvIfNoCase User-Agent .*bot.* search_robot
SetEnvIfNoCase User-Agent .*ask.* search_robot
Allow from env=search_robot
</Files>

So, what to edit here to make the plugin work properly ?

Thanks
no idea but this is defult htaccess
PHP:
# 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 WordPress
 
  • Like
Reactions: chm
no idea but this is defult htaccess
PHP:
# 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 WordPress

This exist in .htaccess alongside the other code. But still not working. If I remove the code appended by the plugin, the website works, but I'm not sure if the plugin itself is working :)
I will remove it :)

Thank you for the reply Mr. Babak
 

Forum statistics

Threads
79,436
Messages
1,142,077
Members
248,181
Latest member
vale999
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock