• Change debian wordpress default htaccess file permission: chown www-data:www-data /etc/wordpress/htaccess
  • Enable Apache rewrite mod: a2enmod rewrite
  • Changing AllowOverride None for AllowOverride All in your apache wordpress site config
  • restart apache server
  • Config Permalinks in your wordpress settings.

参考:1, 2

文章目录