Hello all,
I have a shared hosting account and installed MediaWiki on a domain. I am doing the Short URL capability using .htaccess and LoginSettings.php mods. My urls are redirecting from the main domain http://www.example.com/wiki/Main_Page to http://www.example.hostdomain.com/wiki/Main_Page.
So if you type: http://www.example.com it automatically directs to http://example.hostdomain.com.
How can I force Mediawiki to keep the URL's on the original domain and not direct to the other one? It's driving me nuts. I hope that was clear.
Any help would be greatly appreciated.
Regards,
Chris
Offline
Setting the "$ScriptURL" variable in the config for mediawiki will prevent it from directing to the wrong domain. It seems Mediawiki is having some issues automaigcally determining the correct URL.
Offline
You are not logged in.