{"id":11248954,"date":"2019-03-17T01:48:54","date_gmt":"2019-03-17T01:48:54","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&p=11248954"},"modified":"2024-06-09T10:24:19","modified_gmt":"2024-06-09T10:24:19","slug":"wordpress-site-maintenance","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/wordpress-site-maintenance\/","title":{"rendered":"WordPress site maintenance"},"content":{"rendered":"\n
Important:<\/strong> Please note that this is not a support page. If you seek help with your specific problem, please refer to the Support forums<\/a>.<\/p>\n\n\n\n To keep WordPress working healthy, there is some site maintenance we recommend you do frequently.<\/p>\n\n\n\n Begin by creating a calendar of WordPress Maintenance procedures to remind yourself to get a maintenance job on your WordPress site on a regular basis.<\/p>\n\n\n\n In the article on WordPress Housekeeping<\/a>, tips and resources are given to clean house in WordPress. These include cleaning out old plugins, upgrading WordPress, and other helpful tips for cleaning up and optimizing your WordPress Site.<\/p>\n\n\n\n To ensure you keep your WordPress site up-to-date and working in prime condition, consider adding these Housekeeping steps to your calendar, typically every three to six months.<\/p>\n\n\n\n WordPress is quickly growing and expanding as more features and functions are included and perfected. It is recommended that you check in with WordPress for updates and upgrades at least every three months, six months at the most. Check WordPress org<\/a> and Download WordPress<\/a> for information on the latest version available.<\/p>\n\n\n\n Note:<\/strong> For WordPress 3.7+, minor and security updates are automatically applied in the background process.<\/p>\n\n\n\n One of the most complained about aspect of using the Internet is the dead link<\/em>. This is a link on a page or search engine that goes nowhere. It results in the 404 Page Error – Page Not Found<\/strong>. These can come from links to external sites that have changed their address or closed, or it can come from internal links. When you link between posts<\/a> in your post articles, you might have misspelled a permalink address<\/a> or put in the wrong post-ID, resulting in a page not found<\/strong> on your site. If you’ve recently made a change in your permalink structure, you might have some 404 page errors<\/strong> that might need cleaning up.<\/p>\n\n\n\n Add to your WordPress maintenance list regularly scheduled visits to your site’s statistic logs to check on reports of 404 errors<\/strong> on your site, and take time to run a links check on your external, and internal, links to make sure everything is still connected. Dependent upon the site and number of links on your site, you should check your site for dead links every six months to a year.<\/p>\n\n\n\n The WordPress Dashboard<\/a>, part of the Administration Screens<\/a>, help to keep you up-to-date on the WordPress Community and activities, but check the WordPress<\/a> website to find out if there have been any upgrades, news, events, or information you may need to know as a WordPress user.<\/p>\n\n\n\n If you aren’t an active participant in the WordPress Forums<\/a>, check in once in a while to see what is going on and what topics are being discussed. There might be a topic that might interest you or news you should know.<\/p>\n\n\n\n Also visit the WordPress Documentation<\/a> here to find out if there is new documentation, events, information, or resources that will help you better run and manage your WordPress site.<\/p>\n\n\n\n If you are using one of the many different Comment Spam WordPress Plugins with your WordPress blog, spam can collect in your database. Comment spam is stored in the database as a “just in case” so you can restore a comment incorrectly marked at comment spam. It also serves as a resource to track down recurrent comment spammers, if you need to.<\/p>\n\n\n\n In general, while some plugins will delete comment spam from your database after a specific period of time, not all do. These entries are dead-weight and unnecessary, and they can accumulate. To delete all current comment spam entries run this query on your WordPress database with phpMyAdmin<\/a> in the SQL page:<\/p>\n\n\n\n Make it a part of your regularly scheduled maintenance to backup your WordPress site, both on the website host server and on your computer. For detailed information see WordPress Backups<\/a>. Consider scheduling this, depending upon the volume of new posts or articles you add to your site, three to twelve times a year.<\/p>\n\n\n\n Backing Up Your Database<\/a> describes how to save a backup copy of your database tables that contain all your blog data, and Restoring Your Database From Backup<\/a> guides you through the process of restoring data using one of your backups should you ever have to do so.<\/p>\n\n\n\n If you haven’t been adding posts or articles lately, make a schedule to remind you to add new material on a regular basis. If you have, then take a look at what you’ve posted in the past and maybe do a little checking for proper grammar, bad spelling, information that needs updating, rewriting and editing a little, checking for any adjustments that should be made to make the information you’ve released to the public better.<\/p>\n\n\n\n Website looks change with time and maybe you are tired of your old look. It might need a little tweaking to improve its presentation and performance, or maybe it’s time for a new WordPress Theme<\/a>.<\/p>\n\n\n\n Schedule site updates, depending upon how frequently you post new posts and articles, about every six months so your site will stay fresh and alive.<\/p>\n\n\n\n Make it a website maintenance policy to validate your site<\/a> after making any code or style sheet changes. This way, you can keep on top of guaranteeing users won’t run into problems and trouble that might be brewing under the surface.<\/p>\n\n\n\nGetting a WordPress Tune Up<\/h2>\n\n\n\n
Update WordPress<\/h2>\n\n\n\n
Check for Dead Links<\/h2>\n\n\n\n
\n
Check In With WordPress<\/h2>\n\n\n\n
Delete Spam Comments<\/h2>\n\n\n\n
DELETE FROM wp_comments WHERE comment_approved = 'spam'<\/pre>\n\n\n\n
Back It Up<\/h2>\n\n\n\n
Update Your Site<\/h2>\n\n\n\n
Validate Again<\/h2>\n\n\n\n