2013-09-29, 03:44 AM
2013-09-29, 04:06 AM
Edit: please see post #5
move MyBB files to a sub-folder
open /inc/settings.php file in a code editor (eg. notepad++) and put correct (new) values for below variables
$settings['bburl'] = "________________";
$settings['cookiedomain'] = "____________";
$settings['cookiepath'] = "______________";
$settings['cookieprefix'] = "";
save the file
then log into admin panel (new address) and put again correct settings for below at the general configuration settings
Board URL | Cookie Domain | Cookie Path | Cookie Prefix
save the settings
see also cookie related guidance
move MyBB files to a sub-folder
open /inc/settings.php file in a code editor (eg. notepad++) and put correct (new) values for below variables
$settings['bburl'] = "________________";
$settings['cookiedomain'] = "____________";
$settings['cookiepath'] = "______________";
$settings['cookieprefix'] = "";
save the file
then log into admin panel (new address) and put again correct settings for below at the general configuration settings
Board URL | Cookie Domain | Cookie Path | Cookie Prefix
save the settings
see also cookie related guidance
2013-09-29, 04:32 AM
Why do i need to move it to a sub folder and what do i need to change to the cookiedomain cookiepath and cookie prefix?
2013-09-29, 09:01 AM
(2013-09-29, 04:32 AM)PC-2011 Wrote: [ -> ]Why do i need to move it to a sub folderthe steps mentioned above is to move your forum from example.com to xyz.example.com
(2013-09-29, 04:32 AM)PC-2011 Wrote: [ -> ]what do i need to change to the cookiedomain cookiepath and cookie prefix?
$settings['cookiedomain'] = "xyz.example.com";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";
btw, do you want to move the entire forum to a subdomain or only the upload folder to a new location
2013-09-29, 04:27 PM
You request seems to me like you want your uploads/images to be located at upload.example.com? So I assume you're asking how to create a CDN for MyBB?
There is a tutorial to integrate a CND with MyBB, although you'll also need to set up a CDN...
http://community.mybb.com/thread-94678.html
There is a tutorial to integrate a CND with MyBB, although you'll also need to set up a CDN...
http://community.mybb.com/thread-94678.html