Viewing 1 replies (of 1 total)
  • Thread Starter bartsaleswizard

    (@bartsaleswizard)

    I fixed this issue by adding a redirect in my .htaccess file. This adds www to requests without www.

    I used the following code:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
Viewing 1 replies (of 1 total)

The topic ‘Polylang on different domains: redirection not working properly’ is closed to new replies.