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網站,所以,甚至不會意識到發生了什麼不幸。



























0 responses so far ↓ 0答复迄今↓
Got something to add?有什麼補充? Please leave a comment below請發表評論如下
Leave a Comment發表評論