Title: Can&#8217;t deactivate ampcache
Last modified: April 2, 2019

---

# Can’t deactivate ampcache

 *  [fcadminn](https://wordpress.org/support/users/fcadminn/)
 * (@fcadminn)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/cant-deactivate-ampcache/)
 * When I try to deactivate ampcache I get an error because I’m using nginx not 
   apache so there is no .htaccess file:
 * An exception occurred: [ErrorException] [E_WARNING] file_get_contents(/var/www/
   thenameofmysite.com/.htaccess): failed to open stream: No such file or directory
   in /wp-content/plugins/amp-cache/ampforwp-cache.php on line 411
 * How can I resolve this?

Viewing 1 replies (of 1 total)

 *  Thread Starter [fcadminn](https://wordpress.org/support/users/fcadminn/)
 * (@fcadminn)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/cant-deactivate-ampcache/#post-11390162)
 * ?

Viewing 1 replies (of 1 total)

The topic ‘Can’t deactivate ampcache’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [fcadminn](https://wordpress.org/support/users/fcadminn/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/cant-deactivate-ampcache/#post-11390162)
 * Status: not resolved