Sunday, March 25, 2012

Wordpress Permalink on Nginx

How To Set WordPress Permalink (rewrite rules) on Nginx

These rules are already in the .htaccess on apache, but if you want to be cutting edge, and get the best performance out of your WordPress blog, you can redo them in Nginx!

Why would you want to do this anyways? Simple.  In terms of serving static file requests, Nginx will take up lesser memory, use few resources and is just clearly faster.

The permalink rules need to be placed in your nginx site configuration (the vhost file) under your sites name.  You could also put them for all sites if you  really want.

Here is a basic example:

Nginx6 How To Set WordPress Permalink (rewrite rules) on Nginx

Shared via Blog Freakz – Web Design and Web Development

No comments:

Post a Comment