Answer the question
In order to leave comments, you need to log in
How to properly and safely edit a WordPress theme that is already hosted?
Hello!
Question: how to properly and safely edit a WordPress theme that is already hosted?
What I mean: created a theme locally, transferred the files to the hosting via FileZilla, uploaded the database, replaced the old urls with the hosting url, everything works. For example, the client writes I want to add a section, change the image in the header, add a carousel to display instagram posts.
Well, there is FileZilla and access to hosting, you can do all this through the code editor. But, on the current hosting, it is undesirable to do this, something suddenly flies off, and there the buyers look at the site.
How to act in this situation? Download the entire site and edit the necessary files locally, and then upload back to the hosting? Please explain the algorithm, because how to do it safely and what files to back up is not yet clear. Yes, there is a child theme, but this is not a reserve.
Answer the question
In order to leave comments, you need to log in
You can do this through the code editor.
the client writes I want to add a section, change the image in the header, add a carousel to display instagram posts.
Download the entire site and edit the necessary files locally, and then upload back to the hosting?
it is not yet clear how to do this safely and which files to back up. Yes, there is a child theme, but this is not a reserve.
Try Github, Gitlab. Plugin https://wppusher.com/ for help.
A local mirror of the site will never hurt, and develop on it.
Did it before. I raised a virtual machine with OS and a web environment as identical as possible to that on the prod.
I usually synchronized the changes that I applied locally with rsync, but if suddenly, for some reason, shared hosting without ssh was used, then there was one script on perl, ftpsync it seems. A little slower than rsync, but not everything is replaced, but only new and changed files.
Now as a local vps server from amazon, the applied changes are pushed to the git and applied to the prod with a flick of the fingers.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question