Anyone have any rewrite rules for them?
Anyone have any rewrite rules for them?
Without knowing all your Server Settings and your namespace custom paths, it's hard to say what your rewrite rules should be.
This is an example:
Code:# # VaultWiki Rewrite # if (!-e $request_filename) { rewrite ^/wiki.php$ /showwiki.php last; rewrite ^/wiki$ /wiki/ permanent; rewrite ^/wiki/(?:(custom_path1|custom_path2|etc)/(.*)?)?$ /showwiki_proxy.php last; }
- lead developer for VaultWiki
ok slight issue with the rewrite rules. Its making the URL http://immortal-guild.net/forums/sho...-Conan:Charter however it should be http://immortal-guild.net/showwiki.p...-Conan:Charter.
Any advice?
I have
Code:rewrite entries/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) /entry.php?b=$1&page=$2&$query_string last; rewrite threads/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) /showthread.php?t=$1&page=$2&$query_string last; rewrite members/([0-9]+) /member.php?u=$1&$query_string last; rewrite forums/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) /forumdisplay.php?f=$1&page=$2&$query_string last; rewrite blogs/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) /blog.php?u=$1&page=$2&$query_string last; rewrite list/([^/]*/)([0-9]+) /list.php?r=$1$2&$query_string last; rewrite content/(.*) /content.php?r=$1&$query_string last; rewrite widget/config/([0-9]+) /widget.php?r=config/$1&$query_string last; rewrite ^/wiki.php$ /showwiki.php last; rewrite ^/wiki$ /wiki/ permanent; rewrite ^/wiki/(?:(custom_path1|custom_path2|etc)/(.*)?)?$ /showwiki_proxy.php last;
Check Settings > Options > VaultWiki: Server Settings, and please list your desired values for these.
If you want any custom paths for any item in VaultWiki > Namespace Manager, please include those as well.
From what you're telling me, it sounds like the Wiki Base URL is incorrect, but I'll wait and see.
- lead developer for VaultWiki
I forgot I had forced links thank you for the rewrite rules.
Bookmarks