WordPress:WordPress Site Maintenance

来自站长百科
Xxf3325讨论 | 贡献2008年4月10日 (四) 10:01的版本 (新页面: ==Getting a WordPress Tune Up== To keep WordPress working like a the finely honed machine that it is, there is some site maintenance we recommend you do frequently. Consider it the lube...)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航、​ 搜索

Getting a WordPress Tune Up

To keep WordPress working like a the finely honed machine that it is, there is some site maintenance we recommend you do frequently. Consider it the lube job you need once every 1000 miles.

Begin by creating a calendar of WordPress Maintenance procedures to remind yourself to get a lube job on your WordPress site on a regular basis.

In the Codex article on WordPress:WordPress Housekeeping, tips and resources are given to clean house in WordPress. These include cleaning out old plugins, cleaning template files and the theme's style sheet, upgrading WordPress, and other helpful tips for cleaning up and optimizing your WordPress Site.

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.

Update WordPress

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 and WordPress Downloads for information on the latest version available.

Check for Dead Links

One of the most complained about aspect of using the Internet is the dead link. This is a link on a page or search engine that goes nowhere. It results in the dreaded 404 Page Error - Page Not Found. 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 in your post articles, you might have misspelled a permalink address or put in the wrong post-ID, resulting in a page not found on your site. If you've recently made a change in your permalink structure, you might have some 404 page errors that might need cleaning up.

Add to your WordPress maintenance list regularly scheduled visits to your site's statistic logs to check on reports of 404 errors 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.

Check In With WordPress

The new WordPress Dashboard, part of the WordPress:Administration Panels, help to keep you up-to-date on the WordPress Community and activities, but check the WordPress website to find out if there have been any upgrades, news, events, or information you may need to know as a WordPress user.

If you aren't an active participant in the WordPress Forums, 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.

Also visit the WordPress Codex here to find out if there is new documentation, events, information, or resources that will help you better run and manage your WordPress site.

There are other WordPress sites that keep an eye on all WordPress activities. These sites can be visited or added to your RSS feeder to help you stay on top of what is going on with WordPress.

Delete Spam Comments

If you are using one of the many different Comment Spam WordPress Plugins with your WordPress blop, 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.

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 WordPress:phpMyAdmin in the SQL page:

DELETE FROM 'wp_comments' WHERE 'comment_approved' = 'spam'

Back It Up

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:WordPress Backups. Consider scheduling this, depending upon the volume of new posts or articles you add to your site, three to twelve times a year.

WordPress:Backing Up Your Database describes how to save a backup copy of your database tables that contain all your blog data, and WordPress:Restoring Your Database From Backup guides you through the process of restoring data using one of your backups should you ever have to do so.

Update Your Site

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.

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.

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.

Validate Again

Make it a website maintenance policy to validate your site 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 is put down before it can cause trouble.

You can also regularly schedule validation tests on your site to keep it in top working condition and keep up with any changes or deprecations of the WordPress:CSS and HTML standards. Typically, this should be done about once a year or when you make significant modifications to your site.

Other Maintenance Tasks

For the serious blogger or website administrator, there are some site maintenance tasks you should do to keep up with your site, changes in software, advertising, and the times. Here are some suggestions to keep your site in top shape.

Check Your Website Statistics
Who is visiting, where they are visiting from, which pages are the most visited...check in regularly with your website statistics to find out where the action is on your site, where the dead links are, and where users are coming from. This information can help you better fine tune your site to meet the needs of your users and increase your web visibility. You should check site statistics at least monthly if you have an active site.
Check Your Linkability
There are many link popularity tools on the Internet that will check to see who is linking to you. This is part of the puzzle that search engines use to rank your site. Dependent upon your site's activity and need to grow in search engine rankings, this should be done monthly, or at least three times a year.
Site Submissions
If you have a desire to make your site rise in search engine rankings, regularly schedule activity surrounding your site's submissions to search engines and attracting new users. Take care to limit your submissions to the same search engine too frequently, as that can penalize you, but check in with your site submissions once or twice a year at a minimum.
Update Advertising
If you have included advertising in your site, check with your advertisers on a regular basis to make sure they haven't changed their techniques, pricing, and process. Dependent upon site activity, this could be as often as once a month or several times a year.

Site Maintenance Calendar

We've put together a sample calendar for your site maintenance to help you schedule time to keep your WordPress site tuned up and running smoothly.

JanuaryUpgrade or Update WordPress

Check in with WordPress

Add New Content
FebruaryAdd New Content

Check for new Plugins
Clean out Plugins
Backup Database and Site
Check Site Statistics

Check Site's Link Popularity and Search Engine Ranking
MarchClean up and/or Try New Theme

Check in with WordPress

Add New Content
AprilClean Out Graphics and Photographs

Add New Content
Backup Database and Site
Check Site Statistics

Submit Site to Search Engines
MayCheck for Dead Links

Check in with WordPress

Add New Content
JuneBackup Database and Site

Add New Content
Check Site Statistics
Check Site's Link Popularity and Search Engine Ranking

Check Advertising
JulyUpgrade or Update WordPress

Check in with WordPress

Add New Content
AugustCheck for New Plugins

Clean Out Old Plugins
Backup Database and Site
Add New Content

Check Site Statistics
SeptemberClean or Renew Themes

Check in with WordPress
Add New Content
Submit Site to Search Engines

Check Advertising
OctoberBackup Database and Site

Validate Web Pages and CSS
Optimize Web Pages and CSS
Add New Content

Check Site Statistics
NovemberCheck in with WordPress

Add New Content

Check Site's Link Popularity and Search Engine Ranking
DecemberBackup Database and Site

Check Site Statistics
Add New Content

Check Advertising