PDA

View Full Version : Change Link of Home CMS


Waiter
10-24-2010, 12:29 PM
I have a problem... I have all the suite of vBulletin (Forum + CMS + Blog) installed in the folder "forum" like this:

http://example.net/forum/

But I want that, when I open http://example.net, it opens the home of the CMS and not in http://example.net/forum/content.php...

So I want the CMS like Homepage not in the folder "forum" but in the principal folder of the hosting... How can I get this?

Thanks.

DJ29Joesph
10-25-2010, 09:25 PM
What? to clear this up, you want the Vbulletin's CMS to show up when you goto http://example.net ?

If so, You can create a redirect to the "forum" folder via a php file. Create a content.php or index.php file in the root of your web space "public_html" or "www" folder with the contents shown below.


<?php

chdir('/home/USERNAME/public_html/forum');
require_once('/home/USERNAME/public_html/forum/content.php');
require_once('/home/USERNAME/public_html/forum/vb/bootstrap.php');


*** Where it said's USERNAME is where you need to put your hosting cpanel username in (if your using a cpanel type hosting server). Alternative is go into your cpanel and and look on the left side for "Home Directory". Whatever that said's you need to put into where it said's in the php file '/home/USERNAME/'.

If you need more assistance, Check the installation manual for vbulletin as it explains this better.

Hope this helps. :)