This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
WPML performance issue
Started by: chiragA-3
in: English Support
Problem: define('WP_MEMORY_LIMIT', '256M'); just before the comment: // That's all, stop editing! Happy blogging. Additionally, we suggested ensuring all themes, plugins, and WordPress itself are updated to their latest versions to avoid bugs or performance issues. We also recommended checking for any conflicts by switching to a default WordPress theme and deactivating all plugins except WPML and its add-ons and Elementor. If the problem persisted, the client was to activate plugins one by one to identify the problematic plugin.
If these steps do not resolve the issue or if the solution seems outdated or irrelevant, 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. |
|
1 | 8 | 3 weeks, 4 days ago | |
Help Customising WPML Language Switcher to Work Across 2 Domains
Started by: chiragA-3
in: English Support
Problem: wpml_language_has_switched hook. This hook activates after WPML switches the language context, allowing you to redirect users to the corresponding page on the other domain. Here is a basic example of how you can set this up: add_action( 'wpml_language_has_switched', function( $lang ) { // Only run on frontend if ( is_admin() || wp_doing_ajax() ) return; $current_uri = $_SERVER['REQUEST_URI']; if ( $lang === 'zh' ) { wp_redirect( 'https://glginc.cn' . $current_uri ); exit; } elseif ( in_array( $lang, [ 'en', 'ja', 'ko', 'de' ] ) ) { wp_redirect( 'https://glginsights.com/' . $lang . $current_uri ); exit; } }); Ensure that both domains use matching permalinks and slugs, and adjust the language codes to match your WPML configuration. This solution is custom and may require further adjustments based on your specific setup. If this solution does not apply to your case, or if it seems outdated, 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. |
|
0 | 4 | 1 month, 1 week ago | |
WPML Error
Started by: chiragA-3
in: English Support
Problem: Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML Support Forum for further assistance. |
|
1 | 4 | 1 month, 2 weeks ago | |
How do I turn off Warning Box?
Started by: chiragA-3
in: English Support
Problem: If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. Additionally, 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. For further assistance, please contact us through the WPML support forum. |
|
0 | 3 | 1 month, 2 weeks ago |