WordPress:WordPress Site Maintenance

来自站长百科
Fludlen讨论 | 贡献2008年4月21日 (一) 15:58的版本
跳转至: 导航、​ 搜索
可打印版不再被支持且可能有渲染错误。请更新您的浏览器书签并改用浏览器默认的打印功能。

Getting a WordPress Tune Up

维护一下你的WordPress

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.

保持WordPress像润滑得很好的机器那样地运行,我们推荐你频繁地做一些站点维护。将它当做,每一百英里,你所需要的的润滑剂。

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.

通过创建一个WordPress维护过程日历开始,以提醒你自己定期地给你的WordPress站点维护一下。

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.

WordPress家务管理中的Codex文章中,有一些关于清洁WordPress中的house的资源和小贴士。这些包括清除旧的插件,清洁模板文件和主题的样式表,升级WordPress,以及其它的关于清洁和使你的WordPress站点最优化的有用的贴士。

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.

确保你的WordPress站点保持为最新的,同时在最好的状态下运行,考虑将这些内务管理的步骤添加到你的日历上,一般是每六个月添加三个内务管理步骤。

Update WordPress

更新 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.

随着更多的特色和功能的添加和最优化,WordPress迅速的成长和壮大。建议你至少每三个月查看一下WordPress,来给它进行更新和升级。查看WordPressWordPress 下载得到关于可以使用的最新的WordPress版本的信息。

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.

关于使用因特网方面,抱怨最多的之一就是不能使用的链接。这是网页或者搜索引擎上的一个链接,但是这个链接链接不到任何地方。链接这个链接的结果是一个令人惧怕的404 网页错误 – 没有发现网页。这个可能来自一个外部的链接,这个外部的站点可能已经改变了了它们的网站或者已经关闭了,这个也可能来自一个内部的链接。当你在你发表的文章之间文章之间链接时,你可能拼错了一个permalink 地址或者输入了一个错误的文章-ID,而导致了在你的站点上找不到那个网页。如果你最近更改了你的permalink结构,你可能有一些404 网页错误,这些错误需要清除掉。

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.

定期地添加到你的WordPress站点维护列表上,安排对你的站点的统计日志的访问,检查你的站点的404 错误报告,不紧不慢地对你的外部内部链接进行检查,其确保所有的内容都链接到了。根据你站点上的站点和链接的数目,你应该每六个月到每年就要检查一下你的站点,看看有没有那些不能使用的链接。















Check In With WordPress

到 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.

管理面板中的一部分,新的WordPressDashboard,帮你跟上最新的WordPress社区和活动,但是检查WordPress站点看看有没有,作为一个WordPress用户,你需要知道的什么,升级,新闻,事件,或者信息。

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.

如果你不是WordPress 论坛中活跃的参与者,不时地登录论坛,看看论坛上正在进行着什么,正在讨论什么。论坛上面可能会有你感兴趣的话题,也有可能有你应该知道的新闻。

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.

也访问这儿的WordPress Codex看看有没有新的文件,事件,信息,或者资源,能够帮助你更好地运行和管理你的WordPress站点。

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.

也有其它的WordPress站点密切地关注所有的WordPress活动。你可以访问这些站点,也可以将这些站点添加到你的RSS feeder上来帮你领先了解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.

如果你对你的WordPress博客使用了许多不同的评论垃圾广告WordPress插件之一,垃圾广告会收集在你的数据库中。评论中的垃圾广告储存在数据库中,是作为一个"以防万一",这样对于一个错误地标识为垃圾广告的评论,你可以将它恢复。如果你需要的话,它也可以作为一个资源,来追捕到再次发生的评论垃圾广告制造器。

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:

一般来说,虽然有的插件在一段时间之后,能够从你的数据库中删除评论中的垃圾广告,但并不是所有的插件都能够这样做。这些条目是固定负载的,也是不必要的,而且它们能够积聚。要删除目前所有的这些评论垃圾广告条目,用SQL页面上的phpMyAdmin在你的WordPress数据库上运行这个查询。

DELETE FROM 'wp_comments' WHERE 'comment_approved' = 'spam'
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站点备份,使这个成为你定期维护的一个部分。详细信息,请看WordPress文件备份。根据你给你的站点添加的新帖子或者文章的数量,考虑安排这个备份,一般是每年三到十二次。

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.

随着时间的流逝,站点期待有时改变,而且也许你可能已经厌倦了站点旧的外观。站点可能要做些调整,来改变它的外观与性能,或者也许是使用一个新的WordPress 主题的时候。

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.

你可以有规律地确定你的站点的确认测试的时间,使站点处于最好的工作状况,同时使站点跟上任何的变化,或者任何不符合CSS和HTML标准的东西。

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
一月升级或者更新WordPress

Check in with WordPress
登录到 WordPress

Add New Content
FebruaryAdd New Content
二月Add 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
March整理并且/或者尝试新的主题

Check in with WordPress
登录到WordPress

Add New Content
AprilClean Out Graphics and Photographs
April清除图表和照片

Add New Content
添加新的内容

Backup Database and Site
备份数据库和站点

Check Site Statistics
检查站点的统计数据

Submit Site to Search Engines
MayCheck for Dead Links
May检查不能使用的链接

Check in with WordPress
登录到WordPress

Add New Content
JuneBackup Database and Site
June给你的数据库和站点备份

Add New Content
添加新的内容

Check Site Statistics
检查站点统计表

Check Site's Link Popularity and Search Engine Ranking
检查站点的链接流行度和搜索引擎排名

Check Advertising
JulyUpgrade or Update WordPress
July升级或者更新WordPress

Check in with WordPress
登录到WordPress

Add New Content
AugustCheck for New Plugins
August查看新的插件

Clean Out Old Plugins
清除旧的插件

Backup Database and Site
备份数据库和站点

Add New Content
添加新的内容

Check Site Statistics
SeptemberClean or Renew Themes
九月整理或者更新主题

Check in with WordPress
登录到 WordPress

Add New Content
添加新的内容

Submit Site to Search Engines
将站点提交到搜索引擎

Check Advertising
OctoberBackup Database and Site
十月备份数据库和站点

Validate Web Pages and CSS
确认网页和 CSS

Optimize Web Pages and CSS
使网页和CSS最优化

Add New Content
添加新的内容

Check Site Statistics
NovemberCheck in with WordPress
十一月登录到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

检查广告