• 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

    (@threadi)

    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.

    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.