Rewriting Permalinks Using Nginx for Wordpress URL
I have a wordpress site using Nginx. I am using permalinks and my post pages for category appears like this: http://mysite.com/stores/amazon/. How开发者_开发问答 can I use Nginx rewrite rules to change the link to something like this: http://mysite.com/amazon/ to achieve a shorter url? Thanks.
This sounds more like a permalink setting than an nginx config. In your example above is stores your category and amazon is your page? If so, your page can be linked to as mysite.com/amazon if your permalink structure is modified to just /%postname%/
精彩评论