I think I PMed this to you a while back, but we don't use the rules in that thread. They were based on instructions about vBSEO rewrites for nginx, which it turned out didn't work either when we switched to nginx ourselves.
Instead, this is what you should use, adjusted for your value "showwiki" and your root /forums/:
Code:
location /forums/ {
rewrite ^/forums/showwiki/?.* /forums/showwiki_proxy.php;
}
If you also use vBSEO, you need to use different rules than they give you, since they don't work properly.
If you want the wiki to be /wiki/ and not /forums/showwiki/:
Code:
location ~ /forums/wiki\.php$ {
rewrite ^ /forums/showwiki.php;
}
location /wiki/ {
rewrite ^/wiki/?.* /forums/showwiki_proxy.php;
}
And you need to change your Wiki Base URL:
Code:
http://www.domain.com
and Wiki File Name = "wiki"
Bookmarks