WordPress basic tutorial: How to change the WordPress program site URL

888u

Last update at :2023-12-12,Edit by888u

For those who are new to wordpress, it is still relatively unfamiliar. After all, there are still many functions and options in the background. Today, this site will share with novice friends "How to change the WordPress program site URL" (Note: This is limited to New site), the specific methods and precautions are as follows:

1. If you can successfully log in to the WordPress site backend, log in to the backend and change the effective “wordpress address” and “site address” values ​​in “Settings” –> “General”

After modification, click the save button below and try logging in to the backend with a new address

2. If you cannot log in to the WordPress site backend, please add a line of code to the wp-config.php file in the WordPress site, such as before the database connection information:

  1. define(‘RELOCATE’,true);

After saving and uploading the changes, try logging in to the WordPress backend (/wp-login.php) with the new URL again.

Note: When modifying the wp-config.php file, please do not use Notepad to modify it directly. This may cause errors. You can use some professional editing software to modify it.

Recommended site search: registration-free jsp space, free virtual host, Tencent cloud server, registration query, website virtual host space, jsp host, free ip proxy server, domain name registration platform, free domain name application agent ip,

WordPress basic tutorial: How to change the WordPress program site URL

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码