How do I setup MediaWiki?

1. Log into your cPanel.

2. Click on the Softaculous tool. 

Within the navigation menu on the left side, look for the MediaWiki link.

3. Complete the install form

Keep in mind the HTTP protocol (eg. vs, and if a SSL security certificate will be used). You can also email the installation details to your email address if you wish.

Software Setup


After you fill out the form and click the Install button, the software will be instantly installed on your web site ready for you to use.

NOTE: It is advised that you install your wiki in a directory folder. If you plan on using MediaWiki's Short URL feature, (see below you should name this folder something other than you intended directory because the short URL can not be named the same thing as the installation folder (eg. If you were running a wiki about movies, you might install the wiki at /moviewiki/ and name the Short URL /movies/).

Setting up Short URLs 

1. Using the File Manager or FTP, add or edit the following settings in the LocalSettings.php file within the new Mediawiki installation folder:


$wgScriptPath = "/w";            # Physical path
$wgArticlePath = "/wiki/$1";     # Virtual path. MUST BE DIFFERENT from $wgScriptPath


2. Create or edit the .htaccess file in your web root directory:

NOTE: replace /wiki with wherever the wiki was actually installed


RewriteEngine On
RewriteRule ^/?wiki/(.*)$ /wiki/index.php?title=$1 [PT,L,QSA]
RewriteRule ^/?wiki/*$ /wiki/index.php [L,QSA]
RewriteRule ^/*$ /wiki/index.php [L,QSA]

See for more information.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Why does Wordpress display "Briefly unavailable for scheduled maintenance. Check back in a minute" message?

When your Wordpress website simply shows the error "Briefly unavailable for scheduled...

What is the best way to import or upload a wordpress template?

The best way to import/upload a wordpress template is by logging into your Wordpress installation...

Where do I find the right Wordpress theme?

There are thousands of Wordpress themes available online, some for free and some for cost. Here...

How do I connect to my site using Expression Web?

1. Open Microsoft Expression Web.  2. With a Site open in Expression Web, click Site, then...

How do I setup Moodle?

1. Log into your cPanel 2. Click on the 'Softaculous' tool. By looking at the top scripts, the...