InMotion Hosting Support Center

How do I change my mediawiki url / path?

2012-02-09 6:07 pm EST

Hits: 5,523
I ported an existing MediaWiki site to inmotion and got it working on the temporary URL.

Now I have the real site up and running, it works ok but the URLs are:

Anyone know what to edit (LocalSettings.php?) to get my user name out of the URL. It works but its a bit ugly.

You must login before you can ask a follow up question.

You must login before you can submit an answer.



5,399 Points
2012-02-09 6:30 pm EST
Hi axlesoft,

To remove your cPanel username from your mediawiki url, you'll need to update the <strong>$wgScriptPath</strong> setting in your LocalSettings.php file.

I took a quick look at your LocalSettings.php file, and I saw that you had this setting in place:

<div class='code_block'>$wgScriptPath = "/~userxx/wiki";</div>

After updating this to:

<div class='code_block'>$wgScriptPath = "/wiki";</div>

... the issue with the username in the url has been resolved.

I hope that helps!

- Brad

You must login before you can post a comment about this answer.

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!