最新消息:

wordpress nginx rewrite rule

Wordpress ganko 6822浏览 0评论

set nginx rewrite rule in nginx.conf :

if (!-e $request_filename) {
rewrite ^([_0-9a-zA-Z-]+)?(/wp-.*) $2 last;
rewrite ^([_0-9a-zA-Z-]+)?(/.*.php)$ $2 last;
rewrite ^ /index.php last;

转载请注明:Ganko Tech » wordpress nginx rewrite rule

与本文相关的文章

  • Move wordpress from digitalocean to Linode
    Move wordpress from digitalocean to Linode
  • Fix
    Fix “Sorry, this file type is not permitted for security reasons” bug in wordpress