Manfred Kooistra wrote:
Hello,
I have just installed mediawiki on my site and it is running fine so
far, except this one strange behaviour, maybe you can help me:
When I access the site with "www", using <http://www.mywiki.com/>, I get
redirected to <http://mywiki.com/wiki/Mainpage> (without "www"), but
when I access the site without "www", using only <http://mywiki.com/>,
all I get is a blank page.
Accessing any content (e.g. <http://mywiki.com/wiki/Article>) with or
without "www" gives me the same page and works fine.
Why is that? Why redirection from with to without "www",
Mediawiki expects a canonical URL and redirects the other to it. You can
change that URL on LocalSettings.php ($wgServer)
and why a blank page?
Blank page = php error
Check the error log for the exact reason.