PDA

View Full Version : redirect main website home page from mediawiki to wordpress



jbull
01-05-2011, 07:49 PM
I have been put in charge of a new siteground website. This site was initially setup for mediawiki as the default application, wordpress and coppermine was later added. I have since convinced the management team to dump mediawiki and use wordpress as the default application. So currently if a person directs it's browser to www.somesitename.com, mediawiki pops up. To view wordpress a person needs to direct it's browser to www.somesitename.com/Blog.

I want to change this so www.somesitename.com goes directly to wordpress while possible having www.somesite.com/wiki pointing to mediawiki (just to save some data but not all that important).

I have googled Apache setup files, and it seems httpd.conf would do the trick but do not see access to this file in cpanels, or I am missing the big picture.

This site is still in the concept stage, so I am open to the correct procedure properly (i.e. no band-aids). And of course it needs to be done ASAP.

Any help would be greatly appreciated!

jbull
01-06-2011, 07:28 PM
I have temporarily solved my problem via cpanel using redirects, under the domains section.

Let me reword my question, as described above, I am working on a website that has mediawiki initial installed, then wordpress and another application was added later. I want to move away from mediawiki and have wordpress as the default home page. Do I need to backup everything, remove all programs, then reinstall wodpress?

Any help would be appreciated.

jbull
01-08-2011, 11:22 PM
Thank you for your reply.

Svetlio
01-11-2011, 02:11 AM
Indeed, the redirect option will help you to open the WordPress script by entering the domain name in a web browser.

However, in order to make your WordPress installation the main web site for your account and move MediaWiki under a subfolder you need to create backups of the two applications. You can check the following tutorials for more details.

http://www.siteground.com/tutorials/wordpress/wordpress_backup.htm

http://www.siteground.com/tutorials/cpanel_crystal/backup.htm

Then you should remove the MediaWiki files from the public_html folder and put the WordPress ones in their place. Using cPanel->PhpMyAdmin open the WordPress database and adjust the URL and the path settings in the wp_options table.

Then create the wiki folder and upload there the MediaWiki files. Modify the URL and the path variables in the LocalSettings.php file.

Check our FTP, cPanel and PhpMyAdmin tutorials for more details:

http://www.siteground.com/tutorials/ftp/

http://www.siteground.com/tutorials/cpanel_crystal/

http://www.siteground.com/tutorials/phpmyadmin/