Arvind Singh

작성자: Arvind Singh

Arvind is an ardent individual who never refrains himself from exploring the new technology. He's an experienced WordPress developer and technical writer with a keen interest in web hosting.

How to Undo Changes in WordPress with Post Revisions

How to Undo Changes in WordPress with Post Revisions

If you write frequently then you must have been stuck in a situation where you wish you could undo an action that you performed. Well, there’s a built-in feature for that known as the Post Revisions. It’s just like a time machine which takes you back in time and let you correct your mistakes.

Don’t know how to use this extremely useful feature? No need to worry, we have got you covered.

Getting to know Post Revisions

Before learning how to use this feature we should try to learn what is this feature. While writing posts on WordPress you should have noticed that it autosaves your progress. While this autosave process it also saves a temporary revision history.

And the revisions are saved permanently in the WordPress database when you publish or save the post. This helps you to undo any of the actions that you performed earlier.

Now that you have understood that what this feature let's dive into how to use it.

How to use this extremely useful feature?

You can easily spot the number of revisions on the Document panel while editing a post. To get to the post revisions screen click on this.

This screen will show you all of your post revisions ordered from latest to oldest along with other details like date and time of the revision and who made this revision. And the green and pink colors indicate changes made in the revisions.

Another very useful feature is the "Compare any two revisions" feature. This allows you to split the scrollbar into two which can be used to compare two revisions simultaneously by placing both the scrollbar buttons at different positions. To activate this feature you need the check the box next to "Compare any two revisions".

Once you find a revision to restore you have to click on it and then click on the "Restore this revision" button.

Some people may not have updated to the Gutenberg Editor. In case you are still using the classical editor, you will find the revisions option in the publish box that is present on the right. There you will see a"Browse" option next to the total number of revisions. Rest of the steps remain the same as the Gutenberg editor.

How to limit and delete post revisions?

Some of you here might be worrying about the amount of space the post revisions are going to occupy and that might slow down your site. That’s nothing to worry about because it doesn’t work this way. The thing is that WordPress looks for the revisions only when you are browsing through then and skips them while making database calls on the front end.

You are also free to set a limit to the number of revisions per article. If you wish to do so you just need to browse your website’s wp-config.php file and then put the following code into it.

In the code above ‘n’ is the number of revisions for each post. Change it as per your choice.

This will save your site from getting extra post revisions. But what about those that you already have and do not need? Before deleting the revisions that you do not need any more we suggest that you make a new backup for your website so that you can restore it if in any case, something goes wrong.

Once you have created a new backup you need to go to the plugins section and install and activate the “WP-Optimize” plugin. Once it is successfully activated you need to go to WP-Optimize and then click on Database. Then check the box next to “Clean all post revisions” and click the “Run optimization” button. This will delete all the post revision from your website.

We hope you found it super easy to use the post revisions feature and you won’t panic when you accidentally perform an action the next time in the editor window that you wish you hadn't. These simple steps can save you from a great deal of trouble.

계속

How to Update Your Old WordPress Posts with Gutenberg Block Editor

How to Update Your Old WordPress Posts with Gutenberg Block Editor

Recently updated to WordPress 5.0 or above but don’t know how to use the new default post editor, i.e, Gutenberg Block Editor? Don’t worry we have got you covered.

Before learning how to update your old WordPress posts with Gutenberg blog editor it would be helpful to understand that in what ways is the Classic editor different from the new Gutenberg editor.

I hope you are familiar with Microsoft Word; the Classic editor was just like it. It had all the formatting option at the top while the large text editing area just below it.

As the name suggests, in the Gutenberg Block Editor content is added in the form of blocks. There are different blocks for all different types of contents. For example, a block for images and another block for text and yet another for a list, etc. So you’ll have to deal with the blocks while editing your posts in the Gutenberg Block Editor.

How to edit old posts using Gutenberg Block Editor

You have no option but to use the Gutenberg Block Editor for editing your posts if you are running WordPress 5.0 or later as it is the default editor here. But no need to worry your old posts will be unaffected and it’s not rocket science using this editor if you are familiar with the old Classic Editor.

When you edit an old article that was posted using the Classic Editor, you will see that all your content will be in a single block. Now to edit it you can either edit the content in the classic block that you see initially or you can convert the content into blocks. You won’t find any difficulty editing the content if you go for the first option, it is the same as the Classical Editor.

If you opt for the second option, that is, you want to convert the content into blocks and then edit your post then you just have to click on the three dots on the top right of the Classical Editor. This will do the job.

Each of the boxes in this editor has its own formatting options. To edit any of these blocks all you have to do is simply click on the block and the formatting options will appear on the top of the block. Under the Block option in the right corner, you will find some more editing options.

After editing all the blocks you can click on the Update button in the top right corner.

계속

How Using WordPress Hosting Services Can Save You Money

How Using WordPress Hosting Services Can Save You Money

Before you decide to start a new website using WordPress or any other Content Management System, you need to understand the importance of investing your money effectively.

There's a lot ofcheap Web hosting companies that provide some amazing features. Most customers do their research to compare WordPress hosting cost.

For beginners, it can be hard to decide if they want shared web hosting, VPS, dedicated, or managed hosting. It's because most of them have no idea about such technical things. But when they look at the cost of such plans, they freak out.

Everyone who wants to start a WordPress website, it's vital to understand that shared web hostings are most suitable because their cost is less yet you can get everything you need.

The best thing is that you can always choose any of thefree web hostings. But to have complete access to your website, you have to spend some money.

Just like every human, if you want to save money on buying or renewing web hosting, this article is for you. Let me walk you through a few things.

Buying a Domain Name and Web Hosting Plan Together

Most companies offer one free domain name for one year if you buy one of their web hosting plans. You would be thrilled to know that even shared WordPress web hosting companies offer this combo.

Many people prefer to manage their domain name and web hosting separately. So, there's another way to save some money.

The companies like GoDaddy give a discount on buying a new domain if you pay the cost for two years at once. This deal doesn't offer a free domain for the first year, but at least you will save some money.

For example, if the domain cost is $15 per year, and you pay the cost of two years at once, you may have to pay only $18. It means $3 for the first year.

Never Buy Without Looking for Deals

As we all know, every company gives deals on their products. So, you should look for some coupons online. Many big websites like WPBeginner get amazing deals from Bluehost, Siteground, and Inmotionhosting, for their readers.

Such partner companies give special coupon codes. Although when you buy a web hosting plan from anyone's link, they make money, it doesn't charge you anything. You save some money.

Bluehost offers 63% off, and Siteground provides 70% off to the readers of major websites. Such coupons are available when you buy a new web hosting plan.

But it doesn't mean you can't get anything off while renewing your existing plan. You can always look for Bluehost hosting renewal prices, and some of the popular websites will pop up with a discount coupon code.

Do your research before buying.

Don't be Afraid to Ask for Extra

When I bought my first Siteground hosting, I got it at only $15 for one year. You may be wondering how I got it. Well, it's all about being upfront.

If you fail to find any coupon codes, you should try talking to the sales team of a hosting company. Siteground offered me a fantastic deal on buying a plan for two years.

It's kind of similar to buying a domain name from GoDaddy. I have also had the pleasure to talk with Inmotionhosting's sales team. They were so helpful. I saved a lot of money on buying a new plan. It was almost 55% off on the biggest plan of shared hosting.

Join the Affiliate Program

Siteground allows you to get one-month free web hosting if someone buys a new hosting plan from your affiliate link. Every company has a different affiliate program.

Bluehost offers $65 for each qualified sign-up, and you will be surprised to know that if you make more sales, you start earning $100 per sale. You can use that money to buy a new hosting plan or renew an existing one.

And if you're an affiliate of managed hostings like WP Engine, you can make $200 per sale. Isn't it amazing?

Ask Your Friend to Refer You

We all know that references work all the time. While buying a new hosting plan, you can reach out to your friend to refer you through their affiliate link.

And it's possible to save more money if your friend reaches out to the sales team and asks them for a particular discount affiliate link. It's a double saving.

Your friend gets the affiliate commission, and you get the discount. If your friend is good enough to split their commission with you, you can save a lot of money on WordPress hosting.

Save Money on WordPress Domain Renewal

Buying a new domain name or web hosting plan isn't the only place you can save money. Many companies allow you to reduce the domain renewal cost.

Depending on your skills and research capability, you can get a massive discount. Once I got $13 off on a WordPress domain renewal. As mentioned earlier, you should look for deals.

Do You Think You Can Reduce the WordPress Hosting Cost on Your Next Purchase?

We all like discounts. Don't we? What about you? Wouldn't you want to save some money on your next WordPress hosting renewal or fresh plan?

All these years, I have learned that before you buy something, it's necessary to spend some time looking for alternatives. If Siteground seems costly to you, go with Bluehost or any of the best WordPress hostings.

After understanding the concept of different types of WordPress hostings, you should decide which features you need. Some companies allow their customers to cut down the features they don't need.

For example, while buying a VPS plan, you get an option to manage your servers by yourself or by the company. Similarly, a few other things are there to learn about.

Make sure the next WordPress hosting cost is less than what you paid earlier. Have you followed any of the tips mentioned above? If yes, how much money did you save?

Do you think you can do it?

계속

How to Uninstall and Reinstall WordPress for Troubleshooting

How to Uninstall and Reinstall WordPress for Troubleshooting

Reinstalling WordPress can be a big step to take when you face an issue with your website. If you think of updating, WordPress has a built-in option to do so.

If you get an error, there are many troubleshooting techniques you should use. At last, if you wish to have the fresh installation without losing the data of your site, only then you should think to uninstall and reinstall WordPress.

Sometimes when your website gets hacked, you may need to take some serious steps and make sure the SEO score of your site remains intact.

During the process of WordPress reinstallation, you have to keep the data safe. So, it's vital that youback up the website and its database using cPanel or any plugin.

Many people keep the backup in their web hosting account, which is of no use because if your account gets hacked, it means your backup files also get affected. So, it's necessary to save it on your computer, Google Drive, Dropbox, or anywhere else you like.

In this tutorial, I am going to walk you through a step by step process to delete all the WordPress data, saving the necessary folder, creating a new database, and having a fresh WordPress installation.

1). Export Your Website's Content

This is the first step you need to take to secure the content of your website. This process doesn't include plugins' data; it only contains the content.

Let me show you how you can do this:

Log into your WordPress admin panel and navigate to Tools>>Export, and you and see an option to "Choose what to export," from which, you have to select the "All Content" radio button.

Click on the "Download Export File" button, and the download starts. Depending on the size of the file and your internet speed, you can see an XML file in your computer.

Now that you have successfully secured the content of your site, you should take the next step to back up the design and media files.

2). Back up the wp-content Folder

You should know that WordPress stores themes, plugins, and media files in the wp-content folder. It's vital to download it to maintain the SEO score.

Exporting the data doesn't always contain all media files, so, you have to upload them later. To save the hard work, it's better to do something smart.

To download wp-content, you can either use cPanel or FTP.

Let me show you the steps using cPanel:

Step 1:-

 Log into your cPanel account and open the File Manager. I hope you know that all the data of a WordPress website resides inside the file manager.

Step 2:-

 From the life hand sidebar, you have to open public_html. If you have only one website, WordPress installation is available in the public_html directory.

If you run multiple websites on the same web hosting account and uninstall and reinstall WordPress for an addon-domain, subdomain, or subdirectory, you have to find the right folder name where WordPress has its data.

Search for the wp-content folder and compress it to make a ZIP file. Right-click and choose "compress."

Step 3:-

 A popup appears where you need to select the compression type, select the ZIP radio button and click on Compress File(s).

Once the compression process finishes, refresh the page, and you can see a ZIP file to download.

3). How to Uninstall WordPress Completely?

You're already in the file manager. After backing up wp-content, it's time to delete all files and folder from the root directory.

Click on Select All option from the cPanel's navigation menu, and click on the Delete option from the main menu.

A popup appears you to ask for confirmation because once you delete the content, it's irreversible. Follow the instructions and delete everything.

Once you do so, the first part of installing WordPress is complete.

You may be wondering about the database. Don't be worried; you don't need to delete a database to reinstall WordPress, you can always create a new database and use it.

4). How to Create a New Database?

Nowadays, almost every web hosting company offers a few clicks options to create a new database. Let me show you how:

Step 1:-

 Open cPanel and scroll down to the databases section. Click on the MySQL Databases icon.

Step 2:-

 On this page, you can see an empty field to create a new database. Fill in the name, and scroll down.

Step 3:-

 Now is the time to create a new database user. Fill in the details, and make sure to keep the password strong.

Step 4:-

 You need to add the new user you just created to your database.

Once you fill in all the details, you can see a new database at the bottom of the page with other databases. Now that you have created a new database, it's time to install WordPress.

5). How to Reinstall WordPress?

Using an old fashioned way to download the ZIP file from the WordPress' official site is not what I am going to recommend.

Most famous web hosting companies offer one-click WordPress installation. Use that option and install WordPress. Don't worry about any other data because you have already deleted the old WordPress installation.

6). Import the Content to the New WordPress Installation

Log in to your website having a fresh WordPress installation and go to Tools>>Import.

On this new page, you have to install the WordPress importer. Once you do that, the text transforms into "Run Importer".

After that, choose an XML file you exported from your website in the first step, and click on Upload file and import to start the process.

You will be asked to choose the author for the content. If you had multiple authors on your previous WordPress installation, you can create new users and assign the content to them. You can also assign all the content to only one author.

Continue and complete the import process.

7). Restore Themes and Uploads

If you remember, you downloaded wp-content from your old WordPress installation. To complete the reinstalling process, you have to restore "uploads" and "themes" to your new WordPress installation.

Unzip the wp-content backup and extract the folder.

Now if you want to use the same old design, you have to upload the "themes" folder. Uploading the "uploads" folder is important.

If you wish to use FTP, you can simply upload these folders to wp-content. If you use cPanel, first you have to ZIP these two folders in the same file.

Go to file manager>>public_html>>wp-content of your new WordPress installation, and click on the Upload icon from the main navigation menu of cPanel.

A new tab opens up, choose the ZIP file containing "uploads" and themes" folders and start uploading. Once finishes, you have to unzip the file.

NOTE: You will see the themes folder, so you will be asked to replace it.

You have accomplished your goal to uninstall and reinstall WordPress. Now, you may be wondering about plugins.

It's important to know that behind any malicious attack, most of the time, there's a plugin's file. So, it's good to install plugins manually.

I Hope You Find it Easy to Uninstall and Reinstall WordPress

I understand how hard it's when you encounter an error on your WordPress website. Sometimes, all the conventional troubleshooting techniques don't help.

At such point, you may think to uninstall and reinstall WordPress to fix any malicious code injection in any of the core files. To do so, it's vital to secure the content as I explained in the tutorial.

If you use a shared web hosting, most probably you get a cPanel; otherwise, you can always use FTP/SFTP. I hope it's not as hard as you thought in the first place.

계속

1 2 3 24