Title: Plugin installed, but &#8220;wrong directory&#8221;-error upon activation
Last modified: December 16, 2018

---

# Plugin installed, but “wrong directory”-error upon activation

 *  Resolved [Michael](https://wordpress.org/support/users/mkalina/)
 * (@mkalina)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-installed-but-wrong-directory-error-upon-activation/)
 * Hi, I have used the AMP-plugin for quite some time now. When I updated to 1.0.1,
   this error message came up:
 * > You appear to have installed the AMP plugin incorrectly. It is currently installed
   > in the sbb-guidepost directory, but it needs to be placed in a directory named
   > amp. Please rename the directory. This is important for WordPress plugin auto-
   > updates.
 * I completely deleted and reinstalled the plugin – same error. Should I in fact
   do what the message tells me and hard-rename the plugin-directory?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-installed-but-wrong-directory-error-upon-activation/#post-10995042)
 * What is the directory name the plugin is in right now?
 * I’m any case, doing a hard rename of the directory would fix the problem. It’s
   possible you may have another amp directory that is empty which needs to be deleted
   first.
 *  Thread Starter [Michael](https://wordpress.org/support/users/mkalina/)
 * (@mkalina)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-installed-but-wrong-directory-error-upon-activation/#post-10995821)
 * The dir name was sbb-guidepost. I deactivated the plugin, renamed the directory
   to amp, now it works without problems so far.
 * And no, there was no empty amp-directory.
 * Thanks anyway!
 *  [udaythenimrod](https://wordpress.org/support/users/udaythenimrod/)
 * (@udaythenimrod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/plugin-installed-but-wrong-directory-error-upon-activation/#post-11393323)
 * You appear to have installed the AMP plugin incorrectly. It is currently installed
   in the mvp-google-amp directory, but it needs to be placed in a directory named
   amp. Please rename the directory. This is important for WordPress plugin auto-
   updates.
 *  [udaythenimrod](https://wordpress.org/support/users/udaythenimrod/)
 * (@udaythenimrod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/plugin-installed-but-wrong-directory-error-upon-activation/#post-11393324)
 * How to fix this
 *  [udaythenimrod](https://wordpress.org/support/users/udaythenimrod/)
 * (@udaythenimrod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/plugin-installed-but-wrong-directory-error-upon-activation/#post-11393325)
 * I just installed it and its not working
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/plugin-installed-but-wrong-directory-error-upon-activation/#post-11394688)
 * [@udaythenimrod](https://wordpress.org/support/users/udaythenimrod/) The easiest
   solution would be:
 * 1. Deactivate and remove plugin.
    2. a) Download a new copy from [https://wordpress.org/plugins/amp/](https://wordpress.org/plugins/amp/)
   and upload it to your site 2. b) Install a new copy directly from within WordPress
   admin by searching for AMP

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Plugin installed, but “wrong directory”-error upon activation’ is closed
to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

## Tags

 * [error message](https://wordpress.org/support/topic-tag/error-message/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)

 * 6 replies
 * 4 participants
 * Last reply from: [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/plugin-installed-but-wrong-directory-error-upon-activation/#post-11394688)
 * Status: resolved