• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
WP Akuten

WP Akuten

Take it easy - it will be fine

  • Tips
  • Development WordPress
  • Troubleshooting
Boka ett möte
Ring
Sök
  • Tips
  • Development WordPress
  • Troubleshooting

Need to roll back an update in WordPress?

WP Akuten > Troubleshooting > Need to roll back an update in WordPress?

How to restore a previous version of a plugin or theme

skrivet den 10 August, 2023, uppdaterat den 20 April, 2024 av Karin H Olsson

The times you may need to roll back an update are when the new version is not compatible with other components. The functionality or design of your website has been broken.

First, let me say that it is always important to keep a website up to date. Security must come first but not all updates are about security. But, in the long run, you can’t use an old version because you will miss future security updates.

usväng - backa en uppdatering wordpress

Methods to reverse an update

There are several ways to rollback I usually use wp cli, but that’s because I’m used to managing web pages via the command prompt. If you don’t have that experience or knowledge, choose one of the other methods.

Method 1 – backup

The easiest way is to load a backup, but sometimes the latest backup is a bit old and then you are rarely so keen on it. In addition, restoring a backup is usually a slow process. And when the website looks strange, you want to fix it quickly. But, if you have a backup, it’s definitely a viable option.

Read here how to make a backup

Method 2 – wp cli

WP CLI is an interface to wordpress that runs via ssh on your web host. This is the fastest and easiest way, but it requires that you know how to log in via ssh on your web host and that you are comfortable with the command prompt.

To install a specific version of a plugin, simply use the command below and specify which plugin and version you want installed and activated.

wp plugin install contact-form-7 --version=5.0.5 --activate --force

The same type of command exists for themes and wordpress.

Method 3 – the rollback plugin

There is an excellent version switching plugin, https://wordpress.org/plugins/wp-rollback/. This allows you to change the version of a plugin or theme inside the WordPress admin panel.

The disadvantage of this method is that it is not at all certain that it is possible to roll back. Usually it is possible, but it is not certain that the developer of the plugin/theme has tested the rollback I have on occasion caused a lot of problems this way.

Therefore, it is always safest to have a backup! In that case, if it did not work with a rollback, you have to load the backup instead!

WP Rollback – Rollback Plugins and Themes

Karin H Olsson

Jag har en bakgrund som konstruktör inom realtidssystem, de system som finns inbyggda i bilar, flygplan mm. Sedan tio år är jag företagare.

Utbildad systemvetare med en master i psykologi och mitt intresseområde finns där människor och datorer möts. En dag förstår vi varandra 🙂

Läs mer => KoBoToLo – Om KoBoToLo en webbyrå i Karlskoga

Previous Post:Automatic updates in WP
Next Post:Log in to wordpress when you forgot your password or username
Kategori: Troubleshooting

Jag uppskattar din kommentar

Under många år har jag lagt ner tid och engagemang på att hjälpa andra med deras wordpress-sida. Jag uppskattar all form av feedback för på så sätt så blir arbetet roligare och jag vet om det är uppskattat. Så varför inte skriva ett enkelt tack - om du fick tips för att lösa ditt problem eller löste det!
Tack för din återkoppling!
Karin

0 0 Röster
Article Rating
Prenumerera
Uppdatering av
guest
guest
0 Kommentarer
Oldest
Newest Most Voted
Inline Feedbacks
Se alla kommentarer

Sidebar

Today’s words of wisdom.

Economics: the murky science.Thomas Carlyle

Popular

  • Searching and editing in WordPresssearch
  • My images are cut (cropped) – about image…wood-working-garden-tool
  • Why do my scheduled posts not appear?function
  • Scroll forever – infinite scrollAbstract background with gold infinity sign
  • Need to roll back an update in WordPress?rollback

Du hittar mig i Värmland bland skogar, vargar och sjöar


Mail: info@kobotolo.se

Vill du istället att vi kontaktar dig så skicka ett mail så ringer vi upp. Du kan också fylla i vårt kontaktformulär:


Be mig kontakta dig


Maila mig



Tel: 070 – 49 34 191

Onsdagar 9.00 till 10.00 är vår stående hjälptimme. Då ger vi tips och råd per telefon till kunder och icke-kunder. Ingen fråga är fel!

Övrig tid kan vi tyvärr inte ge support per telefon!

Copyright © 2025 · WordPress Akuten · All Rights Reserved

  • English
  • Svenska (Swedish)