Thanks! It works with some minor optimization:
$wgServerName = "www.wikivalley.com"; $wgServer = $wgProto.'://' . $wgServerName; > -----Original Message----- > From: [email protected] [mailto:mediawiki-l- > [email protected]] On Behalf Of Platonides > Sent: Thursday, February 11, 2010 4:35 AM > To: [email protected] > Subject: Re: [Mediawiki-l] Redirection to non-www domain name > > Stas Khirman wrote: > > Curulan, > > > > Thank you for prompt response, but unfortunately problem seems to be > inside > > of Wiki itself. I removed almost all .htaccess entries ( beside needed > php5) > > and reverted back all configuration changes and now have an original > setup. > > When I point browser to http://www.wikivalley.com/ , I'm getting 301 > > redirect to http://wikivalley.com/index.php?title=Main_Page (note lack > of > > WWW). > > > > MediaWiki(1.15.1) hosted by popular 1and1 hosting. > > > > Will appreciate any future ideas,directions, recommendations, etc... > > > > Regards > > Stas > > > Set $wgServer = "www.wikivalley.com"; at the end of LocalSettings.php > > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
