I have a question regarding the WooCommerce continuous deployment. I need to update changes without effecting the user data, layout, and all other important data. Is there any way for continuous deployment without a break?
It will be a great help if someone can help.
Hello Asela and welcome to Stack Over Flow! I believe what are you looking for is the a staging environment. This mean that you want to test custom codes to your Woocommerce but not on the live website, or the website where your user's data are sored. Instead, you want to do your testing somewhere else, and when you are sure about them you updated the main site.
1- To do this you need a second WordPress install either on your hosting server or even on your local computer.
2- Place your custom codes into fucntion.php or inside a custom plugin.
3- When you are done testing, and you're satisfied with your customization you can simply upload your code into the main site.
This is my solution for you, please let me know if I'm didn't understand your goal, you can comment here and I will be at your assistance.
Related
I am writing to see if anyone has any tips on how one might be able to duplicate a Wordpress site.
We have branded and designed a research study site, and would like to copy this site entirely and rebrand it for a different study.
Does anyone know what might need to go into this to do so? Having trouble figuring this out!
Best,
Taylor
I guess it depends on what you mean by "rebrand". To just duplicate the site should be a relatively easy job to do. You will have to download everything from you public_html and also get a backup of your database. Then upload the files from public_html to a new hosting and also import the database.
After that part now arise some more things. First of the domain name. You will need to change the domain name to reflect a new one you want to use -- i will not get into details about that since you can find lots of good tutorials on how to do that with simple googling. If you need to change any pictures/logos and anything else since you designed it you should know what to change.
Then if there are remaining parts that need to be changed, for example there are many cases in texts fields where the brand of the previous research site is mentioned then I can suggest using a tool like wp-cli which is the only tool currently that comes to my mind for such a cache. It is a really useful and powerful tool but it requires you to have access to ssh to the hosting.
If i come up with something else as well, I will update this.
I just cloned an existing site on cpanel. It is a real estate website. I want to edit some text in the cloned site. How do I do this. Any help please. I'm on the cpanel but I have no idea where to go.
Have you thought about using a plugin to achieve your goal? You could easily use a tool such as:
https://wordpress.org/plugins/all-in-one-wp-migration/
or
https://wordpress.org/plugins/wp-clone-by-wp-academy/
And deploy them on a different server or WP Installation. WP-Clone in particular makes this process fairly simple and straight forward. Not sure if I read your question right, but it seems to me that you want a simple, quick method of achieving this goal rather than manually exporting a database and/or Wordpress install. Hope that helps. Cheers.
I need to edit the existing GA code on our WordPress website with a different code and i intend to do the same by using add header/footer script plugin but i don't know if that will replace the present code. I tried to find the same on the server to change via FTP (as with our magento site) but was unsuccessful, can anybody update me on the same please?
You should be able to edit this via the admin itself. If you use as plugin like this https://wordpress.org/plugins/google-analytics-for-wordpress/
Otherwise, to edit GA, is not in the files itself, but within the admin. I would look within your admin, there is a lot of resource out there with wordpress integrations. You should almost never need to look in the code to find this. (that's the purpose of wordpress). I couldn't exactly say where yours is, but take a look at all your wordpress plugins/integrations and configurations.
I have set up a second wordpress web app in Microsoft Azure however when i go to the url no wordpress install wizard is appearing. Not sure if this is because i am on a free account that can be used by students or if i have done something wrong? My first web app is still working. Thanks for any help.
It shouldn't have to do with anything about being a student. There is a free tier, and you can make multiple free tiered sites.
You didn't say what appears when you go to the URL though, so it could be any number of errors. Here is a checklist of what I'd go through:
Make sure you are going to the correct new URL
Can you FTP into the new web app, and verify there is WordPress code there? If not, something weird happened in the set up process! Delete the web app and try again, or simply upload WordPress yourself! Can get the files from WordPress.org and upload yourself using FTP
If WordPress code is there... What appears when you go to the URL? If it's an error message, something might have messed up in the install. You can always delete it and remake it to start again. Without knowing the error message, I can't really give more specific advice.
As a side note, did you create a new ClearDB MySQL database? Can you confirm there is a second database on your ClearDB account? If not, that could easily be the problem.
Sorry to give vague answers, but without more specifics to go on not many more details I can give. Except confirm that yes, you should be able to make multiple WordPress sites, so either something has gone wrong or you did something wrong.
Hey folks, I got a project from a firm program out a Wordpress design. 80% into it I learn that the client already have an existing one, a robust one, with subsrciptions, blogs, forums, newsletter mailers and so on. Turns out there is a discrepancy bettweent design and old wp structure which I will work on resolving.
I have been developing in on my own server for the time being.
At this point I am not clear on what the strategy should be.
1.) Export out the current wp site out to a different server, duplicate it and then reskin/rework the frame work.
2.) The firms hope was that I would be able to go in and add a new theme, but am not convinced that doing this live will be a good idea since I am using a different theme so all the hooks will be different then the current one.
3.) There is already a large amount of users etc that have signed up to the existing newletter, forum etc. Not sure how to carry this forward?
Any insights are greatly appreciated.
Definitely make a copy of the existing environment. Check it into a version control system (if it's not already the case) and work on that.
Try to put all your work into a new theme: That will make installing the changes on the production server super-easy.
Be careful about any notifications and pings that your development copy may send to the outside world. Be especially careful about the newsletter.