Not Solved [How To?] path to forum after moving to new host
#1
Not Solved
Hi
Yesterday we moved forum to a new host and got everything moved over. 
Anyhow, something strange is happening..when using a temp domainname (waiting for the new one to propagate) it takes me to the forum.
But, when I log in, it redirects me to the old domain? 
I´ve looked in the config file if I could change the path there, but didn´t find anything. 
What am I missing here? Where can I set the paths for the temp domain?
Regards
Ray
Reply
#2
Not Solved
The ./inc/config.php file only defines database connection credentials and some security settings.

Here's a method you may follow:
  • Navigate to the new URL to your forum's AdminCP, log in and change relevant settings in Site Details, such as Board URL and Cookies domain/path, etc.
  • (Optionally) rebuild cache, and go to Templates & Style (still in AdminCP), select current using theme and just click Save Stylesheet Order or Save theme properties. This may break theme CSS caching, but without doing this, some styles/JavaScripts might have issues.

Board URL is cached in ./inc/settings.php which is not recommended to edit manually, but not the ./inc/config.php file.
Could be wrong but worth a try.
Email me at: [email protected]
Reply
#3
Not Solved
Thanks for your response.
I don´t really know now why, but I can´t access the ACP to make changes.
Seems everything is messed up.
Reply
#4
Not Solved
(2019-08-27, 11:05 AM)Ray2 Wrote: I can´t access the ACP to make changes.

Have your already restored the database and changed the database connection credential in ./inc/config.php of your migrated MyBB? If not, do this first.

Suppose your new domain is mydomain.example and the path to your migrated MyBB is path_to_mybb, and you haven't changed your AdminCP folder name, you should be able to access the AdminCP via:
https://mydomain.example/path_to_mybb/admin/index.php, or replace https with http if you're using unencrypted HTTP.
If you've changed your AdminCP folder name, says mYaDmInCp, just replace admin with this name in the URL.

If there's any problem, please specific it with any message displayed in your browser.
Could be wrong but worth a try.
Email me at: [email protected]
Reply
#5
Not Solved
Ok, my friend helped me and we got it fixed now. 
All is working as it should.
Thank you for your assitance.
Ray
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)