can go backstage
Discuz X2 Forum To change the domain name method, in fact X2.5 and X2 basically the same
This is Discuz x2.
Step One: Modify the site URL
First access to the background (address: http://new domain/admin.php)
Open "global"--"site information"--Modify site URL:
Step Two: Modify the site application domain name
Turn on "Background"--"global"--"Domain name settings"--Modify the "Apply Domain name" and "root Domain name settings"
Step Three: Modify the navigation connection address
Open "Background"--"interface"--"navigation"--Modify the address of a connection in a navigation
Fourth Step: Modify the association connection (no settings are not modified)
Turn on "Background"--"operations"--"associate connections"--Modify addresses
Fifth Step: Synchronize site information
Open "Background"--"cloud platform"--"site Information"--click the "Sync Site Info" button
Sixth step: Modify UC-1 (very important)
Open "Background"--"webmaster"--"Ucernter settings"--Modify "ucenter" Access address
Seventh Step: Modify UC-2 (very important)
Open "Background"--"ucenter"--"Application Management"-"Applied primary URL"
At this point the UC system may not open in the background, because the "ucenter" button in the background link to the address or between the domain name
If you cannot open it, you can try to access the http://new domain/uc_server/admin.php?m=frame
Discuz x2.5 Forum To change the domain name involved in the place:
1, backstage---global--site information--site URL: For example, to change the http://www.111cn.net to Http://www.m.111cn.net
2, backstage-global--Domain name settings--application domain name-Forum: http://www.m.111cn.net and root domain m.111cn.net settings;
3, backstage--interface--navigation--the link inside the use of absolute address needs to be modified for the new domain name Http://www.m.111cn.net/ucenter
4, the backstage---operation--association connection, no settings do not need to modify, here mainly involves SEO optimization
5, backstage--Cloud platform--synchronization site information;
6, backstage--webmaster--ucernter set--ucenter access address: http://www.m.111cn.net/ucenter;
7, ucenter--Application Management--the main url:www.m.111cn.net of application
The above 7 steps to modify next to complete the Discuz x2.5 forum domain name replacement, which steps 6, 7 is particularly important, the relationship between the site UC communications, membership registration, such as a series of core issues, so modify must be careful, do not modify the error.
If you can't go backstage, let's see the following .
Formal work:
1. Modify the contents of config/config_global.php and config_global_default.php accordingly
$_config[' Cookies ' [' cookiedomain '] = '. 111cn.net ';
$_config[' ADMINCP ' [' runquery '] = 1; Whether to allow the background to run SQL statement 1 = is 0 = no [security]
--------------------
2, please directly use http://new domain name/admin.php login backstage.
3. What needs to be modified? See below: 1. Background ==> Global ==> site information ==> site url2. Background ==> global ==> domain name settings ==> apply domain name ==> forum and root domain settings mobile version access settings:---Mobile phone posting source custom: 3. Background = => Interface ==> Navigation ==> links inside the use of the absolute address needs to be modified to the new domain name 4. Background ==> operation ==> Associated connection, there is no need to modify the settings, where mainly involved in optimization (site advertising, friendship links) 5. Background ==> Cloud Platform = = > Sync site Information background-tools-go to the Platform Diagnostics tool (may have to manually set IP) 6. Background ==> webmaster ==>ucernter set ==>ucenter Access address 7.ucenter==> application Management ==> Application of the main Urlbbs navigation---the top, the bottom (version of the Web site to update), forum lattice ads, stickers ads, list ads all to update. **************
Modify the problem answer: 1. If you have modified the domain name resolution, please use http://new domain name/admin.php login, make the above changes
2. Background landing can not be automatically withdrawn please config/config_global.php in the $_config[' ADMINCP ' [' checkip '] = 1; Modify to $_config[' ADMINCP '] [' checkip '] = 0 ;
-----------------------
After completing the above work, you have been able to normally access the new domain name, but the original content of the Web site has not changed, to perform the following steps will change the new Web site.
Enter DZ backstage: Webmaster – Database – Upgrade
Use bulk replacement--post URL
UPDATE pre_forum_post SET message=replace (message, ' dqgcw.com ', ' 111cn.net ');
Bulk Replacement-title URL
UPDATE pre_forum_thread SET subject=replace (subject, ' dqgcw.com ', ' 111cn.net ');