• Hello guys,

    I usually make updates to my Theme via SFTP, and also when some plugins do not update directly through the WP panel.

    In such cases, when I’m going to update the Theme or a page builder plugin, I put my entire site on a maintenance page, and during the update time my site is left without access.

    So, in order for my site not to be down for long, I do the following …

    I unzip the zip file of the Theme or Plugin, rename it to any other name (eg mytheme-NEW or myplugin-NEW) and through SFTP I drag to the corresponding folders (/wp-content/themes/ ou /wp-content/plugins). Then I go to the old Theme or Plugin and rename it too (eg mytheme-OLD or myplugin-OLD). Then I go to the new Theme or Plugin and rename it to the original name (eg mytheme or myplugin).

    See: https://screenshot.net/pt/ke9dvu3

    So, I do not need to put my website on maintenance screen and pretty much my site does not stay off the air as it takes few seconds to rename 2 folders.

    That way, besides being fast and the site does not have to be off the air, in case the new Theme or Plugin gives problem, I can go back to the old Theme or Plugin just by changing the names back.

    Is this valid? Can it cause some problem? Or can I do it without any problem?

    Thanks,
    Rodrigo

    • This topic was modified 8 years, 5 months ago by Rodrigo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    I don’t see any problems with that. If you really want to do it all manually, that’s a good way to do it. 🙂

    Thread Starter Rodrigo

    (@vejapixel)

    OK.

    Upgrading directly from the WP panel is faster. But when the panel update only fails, then I have to do this through SFTP.
    So I want to take advantage of the contact to find out why a plugin update fails?

    https://screenshot.net/pt/mv9opc1

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

The topic ‘Updates for plugins and themes with folder renames’ is closed to new replies.