This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to set up redirects for different language domains using the Redirection plugin, but the original URL is set relatively, causing the same redirect rule to apply across different domains, which is not desired.
Solution:
To set up domain-specific redirects using the Redirection plugin, follow these steps:
1. Set Up the Redirect for
www.jetstone.nl
- Source URL:
/some-test-redirect-to-contact
- This is the relative path you want to redirect.
- Compare with: Select "URL and server" from the dropdown.
- Server Value: Enter
www.jetstone.nl
.
- This ensures the redirect will only work for this specific domain.
- Target URL:
https://www.jetstone.nl/contact/
- Save the redirect.
2. Set Up the Redirect for
www.jetstone.be
- Add a second redirect:
- Source URL:
/some-test-redirect-to-contact
- Compare with: Select "URL and server".
- Server Value: Enter
www.jetstone.be
.
- Target URL:
https://www.jetstone.be/gebruiksinformatie/
- Save the redirect.
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.
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 2 replies, has 0 voices.
Last updated by 6 months, 2 weeks ago.
Assisted by: Bruno Kos.