Hi, we're accessing the configuration via Confixx and the subdomain is already mapped to the wiki directory. So we can't really change that. We basically want to change the Main_Page when coming from this particular subdomain.
Maybe I can have a line in LocalSettings.php, which checks the domain and redirects to the desired page. Where does MediaWiki do its redirect to the Main_Page (codewise)? A rewrite rule is not an option last time I checked with our hosting provider. Thanks, Matthias Am Wed, 22 Apr 2009 19:24:12 +0100 schrieb Thomas Dalton <[email protected]>: > 2009/4/22 Matthias Korn <[email protected]>: > > Hi, > > > > I need to redirect people entering our wiki through a specific > > domain or using a specific skin (I only need one of both > > distinctions) to a specific page. > > > > I thought ParserFunctions might be one way to go, but when I do > > {{#ifeq: 1 | 1 | #REDIRECT [[Specific Page]]}} it prints the > > redirect instead of redirecting. > > > > Any ideas? Maybe other solutions? > > I can't think of any way that could be done using wikitext. I would > suggest just using an HTTP redirect on your server, assuming you have > access to the relevant config files. > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > -- Rock in China http://wiki.rockinchina.com/ http://www.rockinchina.com/ _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
