Improper 404 Error Handling Fix For WordPress 2.5

點閱人數:42次 六月 26th, 2008 by ㄚ琪 | 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

我在改用固定連結的方式在我的部落格,可世醫值發生404找不到網頁的錯誤,後來在Improper 404 Error Handling Fix For WordPress 2.5發現原來是Woedpress 2.5.1的一個錯誤,Orz!

You can apply the fix manually by editing the /wp-includes/query.php file. The offending code is on line 922:

if ( ('page' != get_option('show_on_front') ) || ( $reqpage != get_option('page_for_posts') ) ) {

Change it to:

if ( ('page' != get_option('show_on_front') ) || ( $reqpage !== get_option(’page_for_posts’) ) ) {

 

喜歡這篇文章嗎?請幫這篇加入共用書籤,謝謝:
  • Digg
  • del.icio.us
  • Google Bookmarks
  • Hemidemi
  • MyShare
  • Technorati
  • StumbleUpon
  • Diigo
  • Facebook
  • Twitter

Random Posts

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

發表迴響

名稱:(必)
電子郵件位址(並不會被公開)(必)
個人網站


Fatal error: Call to undefined function cbnet_comment_captcha() in /home/job/public_html/wp-content/themes/achi/comments.php on line 84