• With a premium plugin (not hosted on .org), is it possible to update the folder name of the plugin after a user updates to the latest version?

    For example, the current plugin:
    /wp-content/plugins/my-awesome-plugin/

    would become:
    /wp-content/plugins/my-plugin/

    I believe it won’t be an issue issue to change this folder name, but is it possible to update this structure without the plugin deactivating after the update completes?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @dcooney – You might want to consider a secondary plugin that deactivates my-awesome-plugin; changes the folder name (given the appropriate permissions are available for the plugin to use); then activates my-plugin.

    The deactivation and activation are usually easy to accomplish programmatically, and the folder name change should be possible under most permission conditions.

    IIRC, the deactivation and activation sequences are also necessary to core for some operations and references.

    ~Cais.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Everything WordPress, this is not a Developing with WordPress topic. You’re asking a process question here.

    With a premium plugin (not hosted on .org), is it possible to update the folder name of the plugin after a user updates to the latest version?

    Short version: if you mean the slug of a plugin hosted on www.remarpro.com, no. That slug determines the directory name.

    Longer version: contact the plugins team via #pluginreview on Slack and they’ll explain it better.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing Plugin URL Slug’ is closed to new replies.