【问题标题】:Wordpress Permalink Doesn't Work Ubuntu Server AWSWordpress 永久链接在 Ubuntu 服务器 AWS 上不起作用
【发布时间】:2018-01-03 20:12:28
【问题描述】:

我尝试了本教程,但没有任何反应

http://guiem.info/permalinks-on-wordpress-amazon-ec2/

apache2.conf 目录代码

    <Directory />
    Options FollowSymLinks
    AllowOverride All
        Require all granted
</Directory>

<Directory /usr/share>
    AllowOverride None
    Require all granted
</Directory>

<Directory /var/www/>
    Options Indexes FollowSymLinks
    #None
        AllowOverride All 
    Require all granted
</Directory>


<Directory "/var/www/html">

    Options Indexes FollowSymLinks


    AllowOverride All


    Require all granted
</Directory>

<Directory "/var/www/html/wordpress">

    Options Indexes FollowSymLinks

    AllowOverride All

    Require all granted
</Directory>


#<Directory /srv/>
#   Options Indexes FollowSymLinks
#   AllowOverride None
#   Require all granted
#</Directory>

当然,每次修改我都会重启apache

如果我不使用永久链接,wordpress 就完美了

【问题讨论】:

    标签: wordpress amazon-web-services ubuntu amazon-ec2


    【解决方案1】:

    根据this 文章,当 mod_rewrite 模块未在 Apache 配置文件中启用时会发生这种情况。

    【讨论】:

    • 非常感谢先生。
    猜你喜欢
    • 2014-02-10
    • 2017-08-22
    • 2015-04-28
    • 2016-12-07
    • 2011-05-18
    • 2015-07-03
    相关资源
    最近更新 更多