![]() |
Change domain via phpmyadmin
What are the steps needed to change the domain via phpmyadmin? I already changed the URL in bburl but its still redirecting to old site when trying to login via admincp
|
You're still being redirected to the old site because it's cached in the datastore. You have to clear the datastore.
|
Quote:
|
Copy the install directory from your upload folder to the core directory, then copy the tools.php file from the do_not_upload folder. Navigate to the example.com/your_forum/core/install/tools.php and set the directory in Other Tools > Location of Website. Trying to do it in the database is just asking for all kinds of problems and isn't recommended.
|
Quote:
|
I recently had an issue like this one and it was a 301 redirect in the cpanel that was causing the issue. After deleting the 301, the site came up and worked within 20 minutes.
|
Quote:
|
I assumed you already executed these SQL queries.
Code:
update setting set value = 'http://mynewdomain.com' where varname='frontendurl'; Code:
delete from datastore where title in ('options', 'publicoptions', 'miscoptions'); NOTE: Do this at your own risk. It is recommended to back up the database before doing this. |
Quote:
https://www.christforums.org/forum/e...heets-as-files If you have memcached you may need to remember to clear it, and cloudflare, you may want to pause your website while working on htaccess. At least with mine redirects ect sometimes don't show up immediately. |
Thanks for your input guys!
I already did those noypiscripter except for the last code you. Salamat ;) I reupload files and re run upgrade and its all working now. Not sure which one exactly fixed it but thanks for all the replies! |
All times are GMT. The time now is 05:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|