Redirect dosen't work from www.example.com/fr to example.com/fr

after add cloudflare, redirect to non www is working good with examplecom, but redirect dosen’t work with examplecom/fr . i mean dosen’t redirect from www.example.com/fr to example.com/fr. why?

i enabled (Always Use HTTPS)

What setting are you using to do that redirect?

im using this code in htaccess

RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www\.example\.com [NC] RewriteRule (.*) https://example.com/$1 [L,R=301]

and i have installed plugin Really Simple SSL

Try this:

1 Like

thank you bro, it’s working good now!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.