HostOnNet Blog

Tag Archives: mediawiki

MediaWiki Upgrade error PHP Fatal error: Class ‘DOMDocument’ not found

When upgrading MediaWiki on WebHostingNeeds.com, i got following error This is fixed by installing php-domxml module and restarting apache.


Making MeidaWiki urls seo friendly

Open LocalSettings.php Find $wgArticlePath = “$wgScript/$1”; Replace with $wgArticlePath = “/$1”; Now create .htaccess file with following content RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?title=$1 [L,QSA] Thats all. Now your media wiki installation have seo friendly