XMB Forum Software

[Resolved] Moving XMB from sub-directory to root

jbarrington - 10-23-2012 at 02:50 AM

[removed url as redirects to another site]

The hosting company that I use has a way that I can use their cpanel to choose and install one of several bb packages. I decided to use XMB, but cpanel will only allow me to install any of their supplied programs into a sub-directories and not into the root.

I like using the hosting cpanel for installations because it makes my life pretty easy at times, and so I used it to install my copies of any software and then proceed to move them into the roots of domains or subdomains. However, I can't find any information anywhere on the web or here on the steps to move XMB from a subdomain sub-directory into its subdomain root.

The XMB version is 1.9.11

lottos - 10-23-2012 at 09:34 PM


3 or 4 steps, like this:

- rename the index file in the root directory or copy all of root as a backup if you have existing files in the root
- either set the new root url via xmb forum Admin -> Settings or via phpadmin-> xmb DB -> xmb_settings table -> column siteurl
- copy all files from the forum subfolder to the root directory
- edit config.php in the root directory and alter $full_url to the root url, ie: 'http://www.yoururl.com/'


jbarrington - 10-23-2012 at 10:29 PM

Thank you very much for the reply! It sounds pretty easy enough. I should be able to do that without issues.

However, I do have one small follow-up question though before I give it a try.

When you say moving all files within the XMB subfolder, do you mean all of the files and folders within the XMB subfolder to the root, or only just moving the files within the XMB subfolder to the root but leaving the other folders within the XMB subfolder alone.

lottos - 10-23-2012 at 11:11 PM

Quote: Originally posted by jbarrington  
Thank you very much for the reply! It sounds pretty easy enough. I should be able to do that without issues.

However, I do have one small follow-up question though before I give it a try.

When you say moving all files within the XMB subfolder, do you mean all of the files and folders within the XMB subfolder to the root, or only just moving the files within the XMB subfolder to the root but leaving the other folders within the XMB subfolder alone.


All of the file and subfolders,
ie: anything under for example
www.yoururl.com/forums/