Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #18852


Ignore:
Timestamp:
10/04/2011 12:31:19 AM (15 years ago)
Author:
dd32
Comment:

Those rules can be slimed down a bit, no need to check for the file-exists check as try_files handles that through it's priority queue:

location / {
    try_files $uri $uri/ /index.php$args;
}

ie. If File exists, Elseif, If it's a Directory, Else, Lets pass it to WordPress

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18852

    • Property Keywords has-patch added
  • Ticket #18852 – Description

    initial v3  
    22
    33Unfortunately WordPress can't write directly to Nginx's rewrite configuration, but we can show the required rules for convenience and we can allow plugins to filter them if necessary (in the samw way IIS and mod_rewrite rules can be filtered).
     4[[BR]]