Title: Plugin DIR rename issue
Last modified: June 9, 2025

---

# Plugin DIR rename issue

 *  [VR Webs](https://wordpress.org/support/users/net4earning/)
 * (@net4earning)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-dir-rename-issue/)
 * Hi,
 * i have installed a plugin with the plugin DIR name added with suffix (plugin-
   name-2), and few plugins requires this plugin to work. it was working fine.
   now
   one more plugin require this plugin but, its checking for Plugin-name DIR instead
   of Plugin-name-2.
 * Now the issue is if i rename the plugin DIR back to Plugin-name, back-end crashed.
   **
   so what is the right way to rename the DIR to original name?**
 * Thanks in advance
   regards

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-dir-rename-issue/#post-18503766)
 * I suspect that the plugin itself depends on the installation path, otherwise 
   this error would probably not occur. However, you should be able to see the details
   in the error log in the hosting.
 * I would recommend not renaming it, but uninstalling it and then reinstalling 
   it with the correct directory name. Then the plugin’s installation routine should
   work properly and not cause any errors.
 * If you have any further questions, I would recommend contacting the developer
   of the plugin in question. They know best how it works and where the pitfalls
   are.
 *  [rickymccallum87](https://wordpress.org/support/users/rickymccallum87/)
 * (@rickymccallum87)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-dir-rename-issue/#post-18503799)
 * When you rename a plugin folder, WordPress deactivates it. If deactivation is
   causing the admin to crash, here’s how you can rename a plugin while keeping 
   it active:
    1. Create a temporary plugin directory with the correct name `plugin-name` and 
       a file `plugin-name/plugin-name.php` containing only this line: `<?php // Plugin
       Name: Temp`
    2. Visit the Plugins screen and activate this Temp plugin
    3. Delete the `plugin-name` directory and rename your `plugin-name-2` directory
       to remove the suffix
    4. Reload the dashboard

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

The topic ‘Plugin DIR rename issue’ is closed to new replies.

## Tags

 * [admin error](https://wordpress.org/support/topic-tag/admin-error/)
 * [deactivate plugin](https://wordpress.org/support/topic-tag/deactivate-plugin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [rickymccallum87](https://wordpress.org/support/users/rickymccallum87/)
 * Last activity: [11 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-dir-rename-issue/#post-18503799)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
