This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
WPML „detected a new address“ for an unrelated website
Started by: marcW-15 in: English Support |
2 | 4 | 15 hours, 31 minutes ago | ||
Add trailing slash to standard language hreflang url
Started by: marcW-15
in: English Support
Problem: Solution: We recommend a workaround that involves editing the WPML plugin files directly. Before proceeding, ensure to back up your site. The file to modify is wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php . language_url method and replace the existing code with the following: function language_url( $code = null ) { global $wpml_url_converter; if ( is_null( $code ) ) { $code = $this->this_lang; } $abs_home = trailingslashit($wpml_url_converter->get_abs_home()); $url = $this->convert_url( $abs_home, $code ); return $url; } Our developers are aware of this issue and are working on a fix that may be included in a future update, possibly WPML 4.6.9, but there is no guarantee. Implementing the above code change will not affect your site's functionality, but be aware that updating the plugin to a newer version will overwrite this change unless the fix is included in that update. Currently, there is no hook/filter available for this adjustment in your theme's functions.php. If this solution doesn't look relevant to your situation, please open a new support ticket with us. |
3 | 5 | 4 months ago | ||
"Notice: Undefined index: notification" when I deactivate all notification optio
Started by: marcW-15 in: Unterstützung in Deutsch |
2 | 3 | 1 year, 7 months ago |