I would like to move my phpBB2 site from a sub-folder to my main/public_html directory.

In order to move phpBB2 to your public_html directory, first you have to move your files from the subfolder to the public_html. The easiest way to do this is by using an FTP client manager like FileZilla.

The next step is to modify the phpBB2 configuration from your cPanel > phpMyAdmin. Select the phpBB2 database from the drop-down menu on the left. Then open the SQL tab and paste the following query in the text field:

UPDATE phpbb_config SET script_path = 'new_relative_path_to_phpbb' WHERE config_name = 'current_relative_path_to_phpbb';

You have to change the 'new_relative_path_to_phpbb' and 'current_relative_path_to_phpbb' in the query shown above to meet your environment. For example, if you move the phpBB2 installation from subfolder "forum" to the root of your web hosting account (the public_html folder), the query will look like:

UPDATE phpbb_config SET script_path = '/' WHERE config_name = '/forum/';

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 configure phpBB Mass Email to comply with the SiteGround e-mail terms of use?

You have to configure your phpBB script to send less than 400 messages per hour and every message...

How to disable PhpBB3 search functionality for guest users?

Often the phpBB3 search functionality is abused by different spam bots. They perform searches as...

I am getting ‘General Error SQL ERROR You have an error in your SQL syntax’ in my phpBB forum.

Usually, this issue is caused by a missing Anonymous user for your forum. Therefore when an...

How to enable RSS in phpBB?

RSS stands for Really Simple Syndication - a web feed format for publishing frequent updates of...

How to protect phpBB2 from spam?

In order to protect your phpBB 2 forum from unwanted messages, you can use the Akismet mod for...