Bulk Update wordpress core & its plugins locally - wordpress

I am many wordpress sites developed locally. Once the site is finished, I upload to remote.
Now the problem is that there are too many sites and its plugins that needs to be updated. It has been time consuming and error prone to update those sites and plugins one by one.
Can anybody suggest their workflow in such scenario?

I am using InfiniteWP to manage updates remotely.
You set "the server" up on your own webhost and install plugins in the sites you want to manage. From then on you can log in on your webhost, add sites which have the plugin installed and can then choose which updates to make etc.
Another solution like this would be MainWP, which I have no experience with.

Related

I have developed a WordPress website using localhost.How can I give that to my client?

I have developed a WordPress website using localhost. Now I am giving that site to my client. What files do I need to give him and how will I generate those files?
I'm not sure I fully understand as the question could hit a few different scenarios.
I'm assuming for localhost you mean you've developed the application locally, therefore you could move your local application to the live site - for a simple guide on how to do this check out: https://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/
The idea of local development is that the application is built locally on your machine, for this to be available to everyone, the project needs to be deployed to live (i.e the files transferred to a live site).
You could then provide your client with the domain address or hand over the account completely - I suppose that process is up to you.
It's probably a good idea if you are interested to have a read through the different types of environments developers use for their projects - development, testing, staging, production. To read more have a look here: https://codewithintent.com/different-types-of-development-environments/
I hope this helps!
I am working with wordpress for a quite long & i have also came across the same situation where we develop the site on other domain & then we need to deploy it to client site. The best way is to simply install this plugin
https://wordpress.org/plugins/all-in-one-wp-migration/
After installing go to the plugin options & export the website It will gave you one file.
Then at the client side install a fresh copy of wordpress install the same plugin again & then go to plugin settings & import the file here. It will take some time after doing it just refresh the page & you will be good to go.

Best way to build convert a Shopify store to WordPress

I have a website through shopify, hosting through Shopify, and want it rebuilt in WordPress.
What would be the best way to do this while keeping the original website live until the new website is done? The new website may take a while to be created since the database of products needs a lot of modification.
I was thinking about creating a new hosting account and building it there without connecting it to the domain name, and when it is ready I'll connect it. Does this make sense or is it even possible? Or should I build I'd offline and upload it when it's ready? I'm not quite sure how I would build it offline though...
Thanks in advance!
Like the others said, you can build it offline on your computer using a program like XAMPP to create an offline server, however I prefer to build the new website online on a sub domain of your current domain, and switch it over once the website is done.
For example, if your website is amazon.com you can create a sub domain dev.amazon.com and build it there. You will most likely have to use a search and replace plugin to replace all instances of "dev.amazon.com" with "amazon.com".
As for transferring all your products etc. you can export all your products from Shopify as a CSV file and then re-import it into WooCommerce using a plugin called WP All Import along with the WooCommerce add-on.
Good luck!
You can build it in a new hosting environment set up for wordpress hosting. And yes, you can reassign your domain to the new site when it is ready. I don't think building an offline wordpress site would be wise if you aren't familiar with apache servers or transferring wordpress sites to different servers, it can be a headache.
Funny enough you're asking this. I currently am working on a project that is more or less the same task. The best and most optimal way would to just develop the website locally on your machine, using a program like XAMPP or WAMP.
Here's a link on how to get started using a virtual machine that is localized on your computer: https://managewp.com/blog/how-to-create-a-local-wordpress-website-in-windows-with-xampp
After installing WordPress on your machine, you can proceed by installing Woo-Commerce. This is the best e-commerce plugin which works with WordPress and is highly recommended due to how frequently updated it is. There are tons of themes out there which can help you change the look of your shop depending on what look and feel you want your shop to be.
Since you're porting a Shopify website over to WordPress, I assume the Shopify site didn't have anything crazy over-the-top when it comes to the look & feel...That being said, I would 100% recommend the "Storefront" theme for WooCommerce, which is a great theme, both for developers and non-developers to use. Here's a link to the Storefront theme, which is free:
https://woocommerce.com/storefront/
In terms of hooking up the domain to the website, this can be done once you actually are ready to launch the website. There's no need to have a live domain working for developing.
Good luck! I hope this helps!

Wordpress site is very slow after being attacked by malwares

I have been developing this website and we had to use Gravity Form plugin.
There was a time when it went very vulnerable and the website was attacked (a massive crash occurred to the site) ever since the website has never been normal every again. It is extremely slow to download sometimes there are some error messages 503 We have securely monitoring the website, have the wordpress and every plugin updated to the latest version or even delete the one without the recent updates but it seems not enough because if you access the website now you will feel that it's extremely slow.
Is there anybody who has experienced this kind of attacked? (especially, from when you got attacked via Gravity Form plugin)
I would really appreciate you answer.
Scott
As Ed Cottrell mentioned you must rebuild your site.
Make a backup of files and database
Write down which plugins you use
Delete everything (leave only wp-content/uploads)
Install clean WP - it will be best if you use the same version you used
Install all the plugins - the data is still in DB, so you won't have configure them again
If you bought a theme - just download it again and install it. If someone made it for you - check it for some strange eval or some js files you dont's know. When you are sure it's clean put it back on the server.
When everything is done, change user passwords and ftp password.
Use https://wordpress.org/plugins/gotmls/ - it will help to find some nasty code.

Easy maintainance of database-based CMS sites (WordPress...)?

Well, with entirely file-based CMS you can easily put the whole directory into version control system to record any changes to the site. The synchronization with the server would be also trivial because it would only involve uploading the files via ftp.
With these benefits in mind, I am a little puzzled about the popularity of databases as the only storage mode, even when the CMS in question is meant to be used by amateurs for small websites.
How does your versioning and synchronization workflow looks like?
What kind of simplified versioning/synchronization workflow would you suggest for a casual, non-tech, WordPress user, to give them the benefit of working locally and encouraging them to have a backup of their site?
Most CMS systems nowadays tend to have some or other backup solution in place to help you. Since Wordpress is a CMS for the masses and also caters for the non-tech population, you're sure to find a plugin that can help you with this. I know it's built-in backup solution just backups posts etc. to XML, but even this does a pretty decent job of restoring over a clean wordpress installation and working fine.
But I found this plugin (which works for Wordpress and Joomla) by asking Google, which most probably is the answer to your question: XCloner
Also in terms of workflow, specifically for Wordpress, don't give the user Admin privileges, but editor or contributor or something, so they can still edit content, etc. but not make changes that could mess up the CMS itself. And maybe this XCloner plugin can do some kind of recurring backup or something. Otherwise, I suggest you move to a LAMP stack hosting environment where you can at least have cron jobs setup to backup your databse and files regularly. Most hosing companies do this in any case at no cost.
Wordpress also keeps revisions of all posts and pages, so if a user doesn't like an update they've made, the full revision history is available. Be sure to check screen options at the top to see that Revisions is checked, if you aren't seeing this option. Kind of a nice built-in.
Can also (depending on host) have scheduled database/file backups through cPanel, in addition to scheduled database backup plugins through WordPress. Some will save remotely or even email the database out.

Managing Multiple Wordpress Sites

Not sure if this is the right place to ask, sorry if its not. I build a lot of Wordpress sites. My problem is, the number of them is getting big and harder to update them all when new releases come out.
I have written an app that will download the latest Wordpress release, and manually ftp the new files to all the clients, but this takes forever... need a new way.
I wanted to restructure this while I can or start a new process at least. Whats the best way to manage multiple Wordpress sites and keep them all updated? Some people have said 1 DB and modded config, others I have seen said to keep all installs separate and use plugins to automatically upgrade, but I don't know whats best to do. Ideas? Thanks :)
If these were all sites you managed on your own server, I'd recommend using a Multisite installation rather than separate instances of WordPress. This way you only have one set of themes, one set of plug-ins, and one copy of WordPress to maintain.
If these sites are on different servers (i.e. you're maintaining sites for clients remotely), I'd recommend you look in to a beta account with WP Remote. This is a service specifically built to allow you to remotely monitor and update multiple WordPress installations. It might be the best solution for you because it allows you to use the one-click update rather than manually downloading/FTP-ing the new files.
You can use this free self hosted app http://infinitewp.com
No limitation in number of sites being managed. You can update WP/plugin/themes, do backups, one click login to your WordPress admin panel.
EAMann is right, especially with the new Multi Site features in Wordpress 3.0, there is no better way to manage multiple sites under one umbrella. Being a developer myself, I know the pain of having to login to all those different accounts!
The way to set it up is create a "master domain name" that you will log into. Place this in your WP Config:
define('WP_ALLOW_MULTISITE', true);
Then login to your admin panel, navigate to TOOLS>Network.
After you've set everything up, copy/paste what it tells you to your HTAccess and WP Config file.
The next step, especially if you are putting clients on this network, is they will want their own domain name, not AIBot.com/theirname right? Thats where Domain Mapping comes in:
http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/
Check that out and good luck!
What you need is www.managewp.com it can do all of that for you plus a ton of other excellent features.

Resources