Valkrider wrote:The advantage of DeskTopServer is that it is ideal for Wordpress developers who don't understand the intricacies of setting up XAMPP. It is just plug and play.
However, if you can help with getting it up and running for me with PHP v8.x that would be great.
Found this thread when googling "DesktopServer new PHP version", it's the first hit: https://www.google.com/search?q=desktopserver+new+php+version
I had also been using DesktopServer so as to have a local testing site to test changes before I rolled them out on the live site.
Which was now cut short by the old PHP version used by DesktopServer.
Went down the rabbit hole, found a solution, and came back here and registered just to pass it on, to help others in my situation.
--> the solution I found to again have a "test" site, i.e. a staging site version of my live site, was the
free version of the "WP Staging" plugin: https://wordpress.org/plugins/wp-staging/
I don't need the "for pay" version of the "WP Staging" plugin, since I do not intend to "push" changes from the staging site to the live site, I intend to keep the two sites completely separate.
I found the instructions in English by the (German) creator of the "WP Staging" plugin a bit lacking: https://wp-staging.com/docs/create-a-staging-site-clone-wordpress/
--> so I followed the instructions in this really useful German language article with screenshots to install the "WP Staging" plugin in the dashboard of my live site and to then clone the live site to the staging site: https://wp-ninjas.de/wp-staging
Here's a GoogleTranslate translation into English of the above really useful German article: https://1-wp--ninjas-de.translate.goog/wp-staging?_x_tr_enc=1&_x_tr_sl=de&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp
After that, there were two hurdles I faced:
- at first, the new staging site always redirected to the live site.
The solution here was, instead of going to https://example.com/stagingsite/ like the plugin suggested, to enter as the URL into the browser:
https://example.com/stagingsite/wp-admin
as described in here: https://wp-staging.com/docs/activate-permalinks-staging-site - then, the Elementor editor wouldn't load.
The solution to that was to deactivate the "All-in-One WP Migration" and "All-in-One WP Migration File Extension" plugins, they had apparently been the ones interfering: https://elementor.com/help/cant-edit-with-elementor/
--> now I have a
working replacement for my former local Desktop Server testing site.
It's not local but on the server, but it's a working testing site nevertheless, and with a nifty orange band at the top to boot, to differentiate it from the live site
Don't worry, search engines can't see it, robots are automatically blocked on the staging website, so search engines won't index it. Otherwise, since it is duplicated content, you would be ruining the SEO ranking of your live website.
It says so on the dashboard, in the section "Huge SEO Issue": https://imgur.com/a/24j3L0Z
*************************************************************************************
For people who are RunCloud customers, there is also this solution to get a staging site: https://runcloud.io/blog/one-click-wordpress-staging