In this video Pac shows you how to change the domain / url of your wordpress blog.
Official WordPress tutorial:
phpMyAdmin:
WinSCP:
—
Here are the lines to insert in the wp-config.php file (replace new-url with yours). Insert them right after the first line in the file:
define(‘WP_HOME’,’
define(‘WP_SITEURL’,’
—
Here is the SQL statement to replace the old urls in the database:
UPDATE wp_options SET options_value = replace(options_value, ‘OLD URL’, ‘NEW URL’);
wp_options = table name
options_value = column name
Depending on your wordpress installation you may have to use this command several times on several tables and columns. Use the search function within phpMyAdmin to search your database for old urls until no more matches can be found.
—
### PLAYLIST
### SUBSCRIBE
### INFORMATION
### LINKS
Twitter –
Facebook –
Web –
G+ –
Tag: but i can’t write the wp-config.php file., wordpress, wordpress tutorial, wordpress change domain, wordpress change domain name, wordpress move, move wordpress, change domain wordpress, change url wordpress, change domain name wordpress, gartenschlauch gaming, howto wordpress, how to wordpress, phpmyadmin, winscp, sql, mysql, mysql wordpress
Xem Thêm Bài Viết Chia Sẻ Khác: https://chiasecongnghe.vn/chia-se
Nguồn: https://chiasecongnghe.vn
What I needed!
Hi, followed the steps on your video but it did not work for me. At the moment i have a WP site on a IP address and trying to transfer it now onto the correct domain.
I followed all the steps I am thinking though is the first step to update the URL in the settings of the wp-admin? because I did not do that prior to the back up and the steps in the video.
Thanks. Clearly explained. I skipped the whole domain changing by using WP plugin. What is the advantage of doing it manually in the database?