Modifying the WordPress address (URL) prevents you from logging into the background

Source: Internet
Author: User
Keywords wordpress address (url) how to change wordpress address url how to change url address in wordpress






Nothing to do, see settings-the general has a WordPress address (URL) and site address (URL), the hand of the two address behind the/wordpress suffix removed, resulting in blog background can not login, the article page layout confusion.



Workaround:



Linux into MySQL


Mysql> show databases; #Show which databases are available
Mysql> use wordpress; #select database using wordpress
Mysql> show tables; #Show which tables are available
Select * from wp_options limit 0,5 ; #Query the contents of the wp_options table, and only view the first 5 lines
Update wp_options set option_value="http://www.zhaoyongtao.top/wordpress" where option_name="siteurl";
Update wp_options set option_value="http://www.zhaoyongtao.top/wordpress" where option_name="home";


You can access it if you change it.



This article is from the "Tao Sound Still" blog, please make sure to keep this source http://zhaoyongtao.blog.51cto.com/10955972/1764381



Modifying the WordPress address (URL) prevents you from logging into the background


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.