寫教學的最大目的是教會未來的自己

Ubuntu + WordPress 固定網址問題

之前 我曾經寫過一篇 http://www.pupuliao.info/2011/09/wordpress固定網址問題url重寫/

今天我又碰到 類似的問題,第一次在 Ubuntu 的 LAMP 架構下架設網站,當wordpress 設定中文的固定網址時 出了問題

相關技術說明 ,請參考之前寫的那篇

這篇 止寫解決方法

 

以下是我的處理方式,不保證正確

  1. #a2enmod rewrite
  2. 在/etc/apache2/sites-available 中開啟 你網站的設定檔
    把檔案中的AllowOverride None改成AllowOverride Al
  3. # /etc/init.d/apache2 restart

這樣應該就OK了

 

參考資料 http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?viewmode=compact&topic_id=14065&forum=9

Post to Twitter Post to Plurk Post to Facebook Send Gmail

3 Responses to Ubuntu + WordPress 固定網址問題

發表迴響

Copyright © 2024. All Rights Reserved.

歡迎光臨
初音