Copying database tables to new database

Export your tables using phpmyadmin interface. Just select those tables only that you want to export from the old database and import those tables in the new database or you can run the command(query) in mysql to copy one table create table newdbname.newtablename like olddbname.oldtablename; INSERT INTO newdbname.newtablename SELECT * FROM olddbname.oldtablename; Repeat the same … Read more

Translate front page (WPML) [closed]

you need to set home page and translate it to all 4 languages and after it go to settings->reading->Front page displays choose the second option “A static page (select below” and choose this page this will set the home page and root url to this page and wpml will know that the root pages of … Read more

WPML language switcher for custom rewrite rules

A more simple solution for generating the rewrite rules would be to temporarily disable the WPML plugin. I did this using WP-CLI as follows: wp plugin deactivate sitepress-multilingual-cms wp rewrite flush wp plugin activate sitepress-multilingual-cms Note that this only works a single time. Each time you add/modify a category, the rewrite list is flushed and … Read more