nginx rewrite issue
-
okay i am having some problems with nginx write algorithm with wordpress.
i am using this for the rewrite and it works good;
server_name www.domain.com domain.com; if ($host != 'domain.com') { rewrite ^/(.*) https://domain.com/$1 permanent; }
it makes this url;
https://domain.com/?author=1
to this;
https://domain.com/author/username/
which is good but with an url like this;
https://domain.com/?author=1&type=like
it makes it;
https://domain.com/author/username/?type=likeand i am not getting any error but the query is not working.
what i am missing?
thanks.
- The topic ‘nginx rewrite issue’ is closed to new replies.