Help with moving and duplicating WP sites (probably a databse issue)
I want to create different versions of a WordPresss website and put them in different URLs. I want to be able to sell them too.
After I've downloaded the site files and the database, I do these steps for the new URL:
1. I upload the site files
2. Create a new database, add the username with all privileges
3. I open the file 'wp-config.php' to edit these 5 lines
define('DB_NAME', 'yourdatabasename'); /** The name of the database for WordPress */
define('DB_USER', 'yourdatabaseusername'); /** MySQL database username */
define('DB_PASSWORD', 'yourdatabasepassword'); /** MySQL database password */
define('WP_SITEURL', 'yourBlogURL'); //Change this to your blog URL including http:// but excluding the last forward slash '/'.
define('WP_HOME', 'yourBlogURL'); //Change this to your blog URL including http:// but excluding the last forward slash '/'.
The last two settings overrides the URL address in the wp-options of the phpMyAdmin. I went in to change nonetheless.
4. In the phpMyAdmin, I import the database into my newly created one
I thought I'd be all set. When I look at the new site online, everything seems fine BUT the blog posts all open in the original URL, not the new one. When I add new posts inside the wp-admin, all is fine until I go to view them, I get a Error 404 message. Obviously, I still link somehow to the original URL.
What is my way out of this?
Thanks!!!!
Quit wasting your money! If you need a website, get me to do it right! I'll probably even do it for less! Design/Development/Software, I'm your guy! matt@snidge.com
Inbox me
Inbox me