Sciencetext提示和技巧

Tech talk, social media, computing tips and tricks 科技讲座,社会媒体,计算技巧和窍门

Normal Service Resumed恢复正常服务

July 16th, 2009 · by David Bradley >> 2009年7月16号的戴维布拉德利“ ” Please comment请评论

Apologies to anyone who has been trying to use the Sciencetext site over the last 12 hours or so…we had problems.谁向任何人道歉一直试图使用Sciencetext网站在过去12个小时左右...我们有问题。

I spotted the first sign of trouble when I checked the Sciencetext stats this morning and noticed that aside from the homepage they had flatlined.我看到的第一个迹象麻烦当我检查了Sciencetext今天上午的统计,发现除了主页他们flatlined 。 A quick click on the current story spewed up a generic 404 error page, not even my custom 404 page.快速按一下目前的故事喷出了一个通用的404错误页,甚至没有我的自定义404页。 Something was amiss.值得注意的是,早。

I have installed a couple of new Wordpress plugins this week and disabled some others, so I reverted those, but the 404 was still showing.我已经安装了几个新的WordPress的插件和残疾人本周其他一些国家,所以我回复这些,但仍显示404 。 Something else.别的东西。

Next step, check the permalinks setting in Wordpress settings?下一步,检查永久性设置WordPress的设置? Nope, that's fine too.不,这也没关系。 The Wordpress cache was empty, which only confirmed the stats, no one had visited any posts or pages overnight.在WordPress的缓存是空的,这不仅证实了统计资料,没有人访问过的网页的任何职位或通宵。

Last place to look, first place I should've checked – the site's .htaccess file.去年该看看的地方,首先我检查了-该网站的。 htaccess的文件。 This Apache configuration file controls how your site's server responds to visitors.这Apache配置文件控制如何为您的网站的服务器响应游客。 Somehow, and it wasn't me, 'onest, guv, the Wordpress specific chunk of code had gone AWOL.不知怎的,这是不是我, ' onest , guv的WordPress的具体大块代码已经开小差。 This is what you should have in the .htaccess in your Wordpress folder:这是你应该的。 htaccess的在你的WordPress的文件夹中:


RewriteEngine On RewriteEngine论
RewriteBase / RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond % ( REQUEST_FILENAME ) !氟
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond % ( REQUEST_FILENAME ) !三维
RewriteRule . RewriteRule 。 /index.php [L] /index.php [ L ]

It's back in now, and all is well again.这回,现在一切都很好了。 Phew.啊。

Finally, I checked the Google cache and Google Webmaster Tools, nothing awry there, the search engine hadn't spidered the site overnight, so won't even be aware that anything untoward had happened.最后,我选中了谷歌的缓存和谷歌网站管理员工具,有什么错误,搜索引擎还没有spidered网站,所以,甚至不会意识到发生了什么不幸。

Share or bookmark: 份额或书签:
  • Twitter
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Mixx
  • Google Bookmarks
  • Reddit
  • Slashdot
  • Digg
  • E-mail this story to a friend!

0 responses so far ↓ 0答复迄今↓

  • Got something to add?有什么补充? Please leave a comment below请发表评论如下

Leave a Comment发表评论

Comments are checked for spam before appearing, no need to post it twice.评论进行检查的垃圾邮件出现之前,没有必要将它张贴两次。