1 Answer. It simply needs to go before the WordPress front-controller. ... It does not work if you put the directives "below the WordPress directives" because it is simply never processed. The preceding WP directives route all requests (for non-existent files/directories) to /index.