This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing an issue where the default language (English) homepage was redirecting to a specific slug instead of the root URL. Other language homepages were working correctly. The client had already unchecked 'Use directory for default language' in WPML settings, resaved permalinks, and disabled the Redirection plugin. The default language had been switched from French to English.
Solution:
1. We suggested clearing the cache on the server-side and any CDN services like Cloudflare.
2. We advised checking the homepage settings in WordPress (WP-Admin -> Settings -> Reading) to ensure the correct page was set as the homepage.
3. We asked the client to check for any redirection rules in the .htaccess file and any configurations in the Redirect plugin.
4. We inquired if the site URL was defined in the wp-config.php file, as the WordPress Address and Site Address options were disabled in the General Settings.
5. We recommended disabling all non-WPML related plugins, switching to a default WordPress theme, and checking if the issue persisted to determine if it was a theme or plugin conflict.
Ultimately, the client discovered that the issue was not related to WPML but was due to the theme settings, where the fields for setting the Frontpage and Blog page had been emptied.
If this solution doesn't look relevant to your issue, please open a new support ticket with us.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 8 replies, has 2 voices.
Last updated by 1 year, 6 months ago.
Assisted by: Marsel Nikolli.