Problem: When WPML is active, visiting the custom URL site.com/news/xyz redirects to the attachment page site.com/xyz due to a conflict between post URLs and attachment URLs, identified by a 301 redirect tagged 'X-Redirect-By: WPML'. Solution: 1) Modify the code in
Please test this on a staging site as it may affect translations. 2) Set the post to be translatable to avoid conflicts. 3) Use different names/slugs for posts and images to prevent similar issues.
If this solution does not resolve your issue or seems outdated, we 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.
Problem: You are trying to translate your BetterDocs documentation from Danish to English, but you're facing an issue where headers such as H2, H3, and below are not visible on most translation pages, although they appear on some. Solution: We recommend two approaches to resolve this issue: 1) Modify the string format by removing the dot after the numeral in your headers. For example, change from (2.1. Økonomi) to (2.1 Økonomi). This adjustment should make the headers visible in the translation editor. 2) Utilize the search field in the translation editor to locate and translate these headers.
If this solution does not apply to your case, or if it seems outdated, we encourage you to open 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.