Redirection 301 for secondary language

[ad_1]

Hi, I have a websitename .com in Spanish, and I have the translation in en .websitename .com (using WPML plugin).

I have some redirections to do for en .websitename .com, but when I write them it says in a white screen:

Warning: Invalid argument supplied for foreach() in /home/customer/www/WEBSITENAME.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirection.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/customer/www/WEBSITENAME.com/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirection.php:217) in /home/customer/www/WEBSITENAME.com/public_html/wp-includes/pluggable.php on line 1435

If instead of “exact” I use “contains”, the redirection gets saved, but the redirection doesn’t work.

Don’t know what to do! Thanl you!

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer