• Hello,

    we have created a website through the wordpress running on localhost (CentOS7 with LAMP) – over IP (eg http://10.10.21.1/cs). Translations and website work fine.

    But if we rename URL links in WordPress database through 4 SQL statements (from http://10.10.21.1/cs to http://testweb.cz/cs), translations no longer work (translation to EN, PL, CZ).


    UPDATE wp_options SET option_value = replace (option_value, ‘XX’, ‘XX’) WHERE OPTION_NAME = ‘home’ OPTION_NAME OR = ‘siteurl’;
    UPDATE wp_posts SET guid = replace (GUID, ‘XX’, ‘XX’);
    UPDATE wp_posts SET POST_CONTENT = replace (POST_CONTENT, ‘XX’, ‘XX’);
    UPDATE wp_postmeta SET meta_value = replace (meta_value, ‘XX’, ‘XX’);

    I would like to ask, if there is some problem in the database (problem with URL links) or with Polylang? Or what can cause it?

    I am using the newest Polylang and WordPress.

    Thank you for help.

    PV

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Where is the problem? DB or Polylang?’ is closed to new replies.