永久链接结构不起作用

时间:2014-12-09 06:36:48

标签: wordpress url permalinks

我的网站 this 。当我将永久链接结构更新为日期和名称,月份和名称,数字,帖子名称时,页面显示 404 not found error 但当我将其更改为默认值时:http://trackschoolbus.com/?p=123 它工作正常。不知道发生了什么。我最近将 WordPress更新为4.0 。在update.please help,thankyou

之后得到了问题

1 个答案:

答案 0 :(得分:1)

    you have not activated mod_rewrite and permitted it for your WordPress directory. 
    Make sure that Apache module is loaded and that you have AllowOverride All is in your  <Directory> section.

    HTAccess file

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/project/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp/project/index.php [L]
    </IfModule>

    # END WordPress