You also need to change the home url (not only site url) and any other reference to the old domain in the database. To do that without breaking serialized data, you could use any of the tools receommended in the Codex’s article: “Moving WordPress” in the section “Changing Your Domain Name and URLs”.
Related Posts:
- http://localhost/phpMyAdmin/ unable to connect
- phpMyAdmin Error: The mbstring extension is missing. Please check your PHP configuration
- ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
- mysql said: Cannot connect: invalid settings. xampp
- This table does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available
- Delete a database in phpMyAdmin
- PHPMyAdmin Default login password
- wamp server mysql user id and password
- phpmyadmin “Not Found” after install on Apache, Ubuntu
- Delete a database in phpMyAdmin
- Making someone a WordPress administrator using PhpMyAdmin
- Why am I unable to login to Dashboard after adding myself to admin via phpMyAdmin?
- Resetting menu_order to 0 for posts in PHPmyAdmin?
- phpMyAdmin displays error when importing database 2
- oembed_cache SPAM problem [closed]
- Delete all pages (thousands) except a few by their IDs
- Recovering a wordpress blog that got corrupted
- Importing posts content from csv
- duplicate wordpress site on same bdd
- I can not access my local PhpMyAdmin control panel
- Strings from database are not shown correctly
- How to change wordpress adminstrator user ‘s ID from 1 to 0?
- WordPress database defragmentation
- Cannot login to WordPress admin after update
- phpMyAdmin access denied for user ‘root’@’localhost’ (using password: NO)
- mysqli_real_connect(): (HY000/2002): No such file or directory
- Setting up foreign keys in phpMyAdmin?
- phpMyAdmin: secret passphrase?
- Forbidden :You don’t have permission to access /phpmyadmin on this server
- Fix Access denied for user ‘root’@’localhost’ for phpMyAdmin
- #1045 – Access denied for user ‘root’@’localhost’ (using password: YES)
- importing a CSV into phpmyadmin
- MySQL said: Documentation #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)
- How do I find all admin users using phpmyadmin?
- Manually delete post from database
- Where is the “default attribute” values located in the phpMyAdmin in Woocommerce?
- Gaining Login Access via the Database
- Set Display Name to first and last name (phpmyadmin SQL Query)
- How to delete posts that does not have a thumbnail?
- How can I restore admin capabilities?
- #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’
- How to Create a Admin User for A WordPress Site via MySQL (PHPMyAdmin)?
- Delete all post meta except featured image Using SQL
- SQL error #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’ [closed]
- Importing wordpress. xml file on new installation
- Why do I get a WAMP homepage when clicking on specific website’s URL on LocalHost?
- Update slug (URL) of pending posts via phpMyAdmin
- phpMyAdmin displays error when importing database
- Is there a way I can find wordpress posts that don’t contain a word?
- Delete WordPress posts from URL list sql query
- Set meta_key and meta_value for all registered user in wordpress using sql query [closed]
- Delete All Product Images in phpmyadmin
- Delete all one-word comments
- Filter table with dropdown
- Is it possible to create a wordpress database with php code?
- Adding user data to an existing user_id
- import posts with dutch/special letters
- 2 website 1 database… Local to online
- Better ads plugin has 500.000 entries in wp_postmeta
- WP CLI can’t delete plugin related table
- Trouble Installing WordPress Get PHP Not Running Answer
- Connection refused on locahost after importing database?
- Bulk delete WordPress posts with phpMyAdmin
- Changing root password in PHPMyAdmin for WordPress Database when going live
- how to get serialized post meta
- Export Yoast Keywords from MySQL/phpMyAdmin
- WordPress redirects to old login after migration
- Editing mysql tables/database with wordpress or other app/cms
- Need to change all links in page content but not in post content
- Files on Localhost, Database on Server
- Backing up WordPress database and files
- Using mysql to replace img src?
- SQL: Select wordpress posts with given text string and add a custom field to them?
- Phpmyadmin – post editing
- Monitor all the queriers executed by my website
- Is there any way to monitor a MySQL db and check what has changed?
- DB prefix not updating
- How delete post_content records of specific category from phpmyadmin
- Import large database in php my admin
- I wanted to Know that how can I give ingore to 0000-00-00 in my config file
- How to bulk delete a certain part of all wordpress posts
- WordPress Migration Post Problems
- When I add metadata, metavalue length is added in to the value in some cases
- Is there any defects for using same database prefix in WordPress for multiple sites?
- Deleted products from woocommerce are still in the database
- Store GravityForm data in phpmyadmin (mysql)
- Find locations of all featured images of draft posts via SQL
- What is recommended data type and encryption type for password in a database
- Login issue in WordPress
- syntax error for changing user role from database
- header background color changed after drop & import database in phpmyadmin
- Update custom table on metabox POST
- Error while submitting form using AJAX and php
- How can I use WP_Query argument ‘Like %..%’?
- get backup file from wordpress database in x days
- How to merge 2 WordPress sites?
- cannot log in to the mysql server (wamp and wordpress)
- SQL command to export post_content from wp_posts using phpMyAdmin
- How to run site locally after downloading database
- Want to delete woocommerce coupon in bulk from phpmyadmin based on published date