Topic on Project:Support desk

mediawiki dropping domain URL

2
ArchATempAcct (talkcontribs)

When I type "blahblahwiki.org" into my browser's address bar, it takes me to my wiki ok, but the domain name is replaced with the path to the folder the wiki is residing in.

So "blahblahwiki.org/Main_Page" becomes "https://umbrelladomain.com/blahblahwiki/index.php/Main_Page"

Since I could make it do that without buying a domain name I went to my new hosting provider and asked what's broken.

"I want blahblahwiki to have http://umbrelladomain/blahblawiki as it's root folder. I just can't get it to say "blahblahwiki.org" in the browser address bar. "

Their response:

"The domain (Blahblahwiki.org) is a addon domain that points to the public_html/blahblahwiki folder.

There is no redirect in the .htaccess file, which means the redirect is most likely caused by the script that you are using in public_html/blahblahwiki.

To which I replied:

"Thank you, I will take this to the Mediawiki people and ask them what it might be.

To be clear, something in the /blahblahwiki folder is making it redirect back into the same folder, causing it to drop the blahblahwiki.org and instead use the umbrelladomain/blahblahwiki folder address.

If I have that incorrect, let me know. I will take this up with mediawiki now.

Thank you so very much, guys!"

They confirmed:

"Correct, if you have any other questions please let us know."

So thats what brought me here. I checked out the short-URL help text, but nothing there applied to the situation. I tried the autimatic htaccess configurator too. I played around with the path variables in the  localsettings script.

What could be overriding my domain name?

TheDJ (talkcontribs)

My first guess is that you haven't updated your LocalSettings.php to make use of the new domain.

Reply to "mediawiki dropping domain URL"