How to use the vBulletin relative path option?

The relative path option allows you to move your vBulletin index file outside of the main script folder and put it in the root folder for your web site. For example, if you have a vBulletin installation in the public_html/forum/ folder and you do not have another index file in the public_html/ directory, you can move the vBulletin one there.

The VB_RELATIVE_PATH constant was introduced in the vBulletin 4 version. It can be set by editing the vBulletin index.php file.

Uncomment the following line and set the relative path to the vBulletin folder:

define('VB_RELATIVE_PATH', 'forum');

If the script is installed in a folder with a different name, replace forum with it.

In this way once the visitors open your web site through your domain they will be automatically redirected to the vBulletin forum folder.

You need help with an application? hostlantern is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to change the vBulletin administrator password

In order to change the vBulletin forum administrator password you should load your vBulletin...

Home / vBulletin FAQ / How to enable private messages notifications for vBulletin users?

You can allow all vBulletin forum members to receive private messages by running a query under...

How to enable/disable ‘Email this Page to a Friend’ in vBulletin?

The "Email this Page to a Friend" functionality can be enabled/disabled per user group. You can...

How to insert programming source code in vBulletin posts?

Many forum members, especially in the technically oriented forums, need to insert programming...

Remove default http:// from the Insert Link option in vBulletin

In order to remove the predefined http://  string from the Insert Link functionality in the...