How do I change my mediawiki url / path?
Have a question?
Ask the Community!

Question Asked by axlesoft

How do I change my mediawiki url / path?

Best Answer not yet chosen
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:

wiki.example.com/~userxx/wiki

Anyone know what to edit (LocalSettings.php?) to get my user name out of the URL. It works but its a bit ugly.
  • Asked 2012-02-09 18:07
  • Hits: 2196
  • Expires in: Expired

This Question is Still Open! Current Answers:

Answer Question
Vote
0 Rate this answer as good
0
1 Rate this answer as bad
Hi axlesoft,

To remove your cPanel username from your mediawiki url, you'll need to update the $wgScriptPath 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:

$wgScriptPath = "/~userxx/wiki";


After updating this to:

$wgScriptPath = "/wiki";


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

I hope that helps!

Thanks,
- Brad
2012-02-09 18:30

Rating:
 
Please log in to rate this question.
Like this Question?

Comments

Comments 

 
0 #2 BradM 2012-02-15 09:03
Hi axlesoft!

I had actually made that change (listed in the answer above) in your config file, tested a few pages in your wiki, and that seemed to have resolved the issue. Sounds like I missed a few pages in my testing?

Either way, glad to hear you were able to resolve the issue, and we really appreciate you posting the solution!

Thanks again!
- Brad
 
 
0 #1 axlesoft 2012-02-14 18:10
Downvote isn't meant as an insult :) Just didn't work for me, but I managed to fix it. Downvoted to help anyone else in the same situation.

Didn't work, whole wiki goes down with an error message.

Fresh install and I found that

$wgScriptPath = "";

works. Maybe because the wiki is installed in /wiki, I really don't know.
 

You must log in before commenting.

Need more Help?

Search
Current Customers
Chat:Click to Chat Now
Call:888-321-HOST (4678)
E-mail:support@InMotionHosting.com
Ticket Submit a Support Ticket
Need more Website Troubleshooting help?
Try browsing the standard Website Troubleshooting category page in our Knowledge Base.
Not a Customer?
Get web hosting from a company that is here to help. Sign up today!

Follow InMotion Hosting!

 4236 Followers. Follow Us!