Are you noticing an incorrect remark depend after the WordPress import? Importing a WordPress web site utilizing the built-in importer can generally mess up your WordPress feedback depend. Whereas all of the feedback are safely imported and visual within the admin space, your posts will present an incorrect remark depend in your web site. This similar import error also can affect class depend and customized taxonomy depend. On this article, we’ll present you how you can repair class and feedback depend after importing WordPress.
As you observed within the screenshot above, after the import our remark depend and class depend is exhibiting zero as an alternative of the particular quantity. Let’s check out how you can repair it.
First you must create a whole WordPress backup of your web site. You need to do that each time you’ll carry out a serious change in your web site. We suggest utilizing BackupBuddy, it’s the most complete WordPress backup plugin in the marketplace.
After getting made the backup, let’s transfer on to the subsequent step.
Open a plain textual content editor like Notepad and easily copy and paste the next code:
That you must exchange DB_HOST, DB_USER, DB_PASSWORD along with your WordPress database host (normally localhost), database username, and password.
Yow will discover all this data by logging into your WordPress internet hosting cPanel or by taking a look at your wp-config.php file utilizing a file supervisor.
After getting changed the knowledge, save this file as
comments-fix.php in your desktop.
Now you’ll need to add this file to your web site’s root listing. You are able to do that by utilizing an FTP consumer or by utilizing the file supervisor in your webhosting management panel.
After importing the file to your web site, you must open your net browser and go to this file:
instance.com along with your web site’s deal with.
Visiting this file in your browser will run the script which merely loops by means of your posts, class, tags, feedback, and so on and replace the depend.
You May Also Like : How to Add Email Subscription to Your WordPress Blog
Necessary: When you’re carried out fixing your WordPress remark depend, you must delete
comments-fix.php file out of your server.
That’s all, we hope this text helped you replace feedback depend after importing WordPress. You might also wish to take a look at our information on the most typical WordPress errors and how you can repair them.
If you liked this article, make sure to hit the bell for getting our latest updates and share this article with your friends in every social media platforms.