This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with double slashes (//) in your URLs for custom post types, which are being flagged as hreflang issues in your site crawls, this might be related to WPML's redirection functionality.
Solution:
First, verify if the double slashes appear when WPML is deactivated. This will help determine if the issue is directly caused by WPML or if it exists independently of it. If the double slashes still appear with WPML deactivated, the problem does not originate from WPML. It's also important to note that WPML correctly adds hreflang tags, and the issue of double slashes should not be confused with hreflang problems. If you need further clarification on why double slashes are flagged as hreflang issues by specific tools, you should contact the tool provider directly.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your specific case, we recommend opening a new support ticket. We also 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 visit our support forum at WPML support forum.
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 3 replies, has 2 voices.
Last updated by 6 months, 1 week ago.
Assisted by: Itamar.