我使用wordpress,我想將我的永久鏈接從「默認」更改爲「發佈名稱」。我改變它後,我得到了來自Apache的404錯誤。然後我搜索,得到這個:Wordpress permalink structure change issue當我寫這篇文章commant「命令a2enmod用戶目錄」,並刷新我的網頁,我得到500錯誤:內部服務器錯誤apache
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
這裏是我的服務器日誌錯誤:
127.0.0.1:45292] /var/www/tvvarzesh.dev/public_html/.htaccess: Invalid command 'BEGIN', perhaps misspelled or defined by a module not included in the server configuration
什麼我應該怎麼做?感謝名單
我們可以看到您的**。htaccess **文件的內容,位於您的網站根目錄嗎? – rnevius 2014-10-08 08:19:56