This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Yoast regex redirect vs WPML – there is unwanted interaction
Started by: marcH-44
in: English Support
Problem: /wp-content/plugins/wp-seo-multilingual/classes/class-wpml-wpseo-redirection.php in a code editor. foreach ($redirections as $redirection) {<br />if($redirection['format'] == 'regex'){<br />if(strpos($url, '/', 0) !== 0){<br />$url = '/' . $url;<br />}<br />preg_match('~' . $redirection['origin'] . '~', $url, $matches);<br />if(count($matches) > 0){<br />return true;<br />}<br />} else if($redirection['origin'] === $url || '/' . $redirection['origin'] === $url){<br />return true;<br />}<br />} 4. Save the changes. If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum. |
|
2 | 7 | 1 year, 11 months ago | |
WPML chat support ticket by marcH-44 – 1686675071
Started by: marcH-44 in: English Support |
1 | 1 |
1 year, 11 months ago
|
||
multi-languages multi-country as subdirectories, eg /de-ch for German
Started by: marcH-44 in: English Support |
|
2 | 5 | 4 years, 5 months ago |