Permalinks on Wordpress EC2

前端 未结 8 531
攒了一身酷
攒了一身酷 2021-01-31 10:28

I have just transferred my blog from my local webserver to Amazon EC2 Free Linux server, Everything seems to be working now except for permalinks, I disabled and re-enabled them

8条回答
  •  广开言路
    2021-01-31 11:16

    Your server may not have the AllowOverride directive enabled. If the AllowOverride directive is set to None in your Apache httpd.config file, then .htaccess files are completely ignored.

    In this case, the server will not even attempt to read .htaccess files in the filesystem. When this directive is set to All, then any directive which has the .htaccess Context is allowed in .htaccess files. Example of enabled AllowOverride directive in httpd.config:

    Options FollowSymLinks

    AllowOverride All

    This link may also be helpful: http://codex.wordpress.org/Using_Permalinks

提交回复
热议问题