I can't automatically redirect http://example.in to https://www.example.in in wordpress website

Username epiz_25980802

i can’t automatically redirect http://example.in to https://www.example.in in wordpress website
i already create ssl certificate in infinityfree.

Error Message

Other Information

Have you tried to change to HTTPS in Wordpres in settings?
Also in Reccomend you to use Cloudflare, once set up, put always use HTTPS

Howmany Days ?

Roughly a day

If you want to add a www into your website. Add another A record into your DNS management and point it into your domain IP address.

Example:

Name: www
Target/Content: your domain ip address

OPTIONAL (AFTER COMPLETING THE ABOVE STEP)

After you add the www or complete the above step, Add or insert this code into your .htaccess file. This will redirect visitors to www.example.in instead of example.in only.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]

How to know ? What is my domain ip?

You can find it on your control panel account

app.infinityfree.net > Choose the domain >
IP Address