I have shifted my wordpress site from one host to another, after shift the website wp-admin is not open and showing page cannot be displayed. http://www.surmonteinfogen.com/
尝试访问此URL www.surmonteinfogen.com/wp-login.php,它可以正常工作并登录到admin和更新永久链接设置
You can update your URI with wp-login.php
.
First of all search for this line of code
require( dirname(__FILE__) . ‘/wp-load.php’ );
After this line add this code.
update_option(‘siteurl’, ‘http://www.surmonteinfogen.com/’ );
update_option(‘home’, ‘http://www.surmonteinfogen.com/’ );
Update the modified file to server and point your browser to http://www.surmonteinfogen.com/wp-login.php
Now your URI are updated.
Remove the added code from wp-login.php
and upload back to server. Now you can use the admin panel. :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.