The company are closing their foreign language versions of the site, so I have hidden these and they are now redirecting to the UK homepage.
However they are redirecting as 302 temporary redirections, but it is likely (but not absolutely certain) that this will be a permanent change. They have asked if it's possible to make these redirects 301 (permanent redirect).
Could you let me know if it's possible to do that.
I checked the docs and looked through settings but couldn't see anything for setting the redirect type.
The site is hidden link
Screenshot showing how the languages are set up on this site: hidden link
Hello,
My name is Carlos and I will continue working on this ticket
In this link, you will find our hooks list: https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/ with some hooks related to redirection. However, with the plugin mentioned by my colleague (or directly in the .htaccess file), you should be able to create a 301 redirection using a wildcard (*). Something like this should work: domain.com/es/*