-
I am able to login the wiki with a second domain.
The only issue that stands now is having the domain cooperate with VaultWiki's SEO URL format. As it stands, I cannot have it cope unless it's the very first URL format and having it as the first is not very ideal for me.
Here is my .htaccess settings
Code:
Options -Indexes
Header set Access-Control-Allow-Origin: "*"
Header set Access-Control-Allow-Headers: "Origin, X-Requested-With, Content-Type, Accept"
RewriteEngine On
RewriteBase /
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php|wiki)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images|wiki)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
RewriteCond %{HTTP_HOST} !^main\.com$
RewriteRule ^forum.php$ forum.php [R]
RewriteCond %{HTTP_HOST} ^second\.com$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^wiki/(.*)$ wiki_index.php [L,QSA]
Any tips on how to do it?
-
See your new .htaccess file.
-
Ah! Thanks so much. Would it be possible to have it as the 2nd URL format?
-
Sure, you should just be able to switch the format between #2 and #3. There wouldn't be a change to the .htaccess for that. If you have an issue with stale URLs from the previous format after the switch, you can run Counters > Rebuild URLs.
-
-
EDIT: Looks like any non-existing [wiki] tagged article leads to a 'The page you are looking for cannot be found.' page, and not the usual Vaultwiki interface for it.
-
Ah, also seems like Islands are inaccessible.
-