Home › Support › English Support › [Resolved] In relate to previous QA 'Too many redirects error to setup Language URL format'
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.
Tagged: Multilingual SEO
This topic contains 1 reply, has 2 voices.
Last updated by Lauren 1 year, 8 months ago.
Assigned support staff: Lauren.
I got the following solution from here: https://wpml.org/forums/topic/too-many-redirects-error-to-setup-language-url-format/
header( 'Location: <em><u>hidden link</u></em>' ) ;
This is 302 redirect.
How to set 301 redirect instead of the 302 redirect?
Do i just create 301 redirect from .htaccess and unclick "Use directory for default language" at the admin?
English (English )
Thank you for contacting WPML support. I'll be happy to help you with this.
Yes, I believe that solution will work for you. If it doesn't, let me know and I'll be happy to continue troubleshooting.