It’s a pity that you found an unresolved topic and not a resolved one.
When you migrate a database from one domain to another domain, you must search and replace all occurences of the domain name. There are tools for that.
For Polylang, there is a workaround, go in Languages > Settings > Urls modifications and resave the options. This resets the language cache.
This doesn’t work for me. It’s really driving me crazy…
I replaced all the URL’s in the database AND saved the options again under Languages > Settings > Urls modifications. But Polylang keeps redirecting to the old URL.
If I deactivate the plugin the problem is solved, but the multilanguage option is gone off course.
Hey ya. I came here because I had the same issue. Polylang stores the former URL in some cache (I have not found it yet). But when you add this to wp-config.php:
define('PLL_CACHE_HOME_URL', false);
It will solve the problem.
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Polylang redirect to former site url adress’ is closed to new replies.