Knowledge Base Article

How to configure my MediaWiki to be accessible via the server URL instead of my own domain name?

In order to access your MediaWiki via the server URL (http://servername/~user) instead your domain, you should edit your LocalSettings.php file. It is located in the root directory of your MediaWiki. You can edit the file from:

cPanel-> File Manager

Replacethe following line:

$wgScriptPath= "/wiki"

with this one:

$wgScriptPath= "/~username/wiki"

Then you can use the following link to access your MediaWiki:

http://servername.com/~username/wiki/



Rating

Please indicate if this article was helpful for you.

rating :  5.0 from 5
views :  658
votes :  2

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!