Wil
(@limecanvas)
Use WP Migrate DB to properly move the database over to the new URL.
http://ww.wp.xz.cn/plugins/wp-migrate-db/
You can’t just copy the DB over as is because it contains URL links to the current domain you’re copying from.
Don’t use a text editor to do a search and replace on the URL either because that will break serialized data.
You’ll of course have to edit your wp-config.php file with the new host and database details.
Wil.
Thank you so much Wil!
Now it works properly. A virtual Coffee for you 😉
Thanks a lot
Hello,
i have another little problem.. i have used WP migrate DB for copy the Italian site version and create the english one, and all works fine.
But, if i make another copy of the Italian site (using WP migrate DB) for create the French site version, when i finish the site installation all the links (logo, menu item, etc) link to the Italian version… i don’t understand why… in the WP migrate DB i specify the new url (for example public_html/site/french etc..) but it doesn’t works! Why in the english version all works fine and if i do the same thing in the French one not?
This is the url: http://www.natural-academy.it/french
Thanks 🙁
Wil
(@limecanvas)
Hi again.
From what I can determine you have a WordPress installation in http://www.natural-academy.it, and another in /french and another in /en
I would probably start looking at the .htaccess in the /french and /en folders.
Make sure that they are including the folder and not the root /index.php.
e.g. .htaccess for /french
line: RewriteBase /
replace with: RewriteBase /french/
line: RewriteRule . /index.php [L]
replace with: RewriteRule . /french/index.php [L]
Repeat for /en installation.
Wil.
Wil
(@limecanvas)
FYI – make sure you mark your primary content as such and mark the others as alternative, otherwise you risk the change of Google seeing your primary content as duplication and downgrading your SEO.
http://googlewebmastercentral.blogspot.com.au/2011/12/new-markup-for-multilingual-content.html
https://support.google.com/webmasters/answer/182192?hl=en
Wil.