Free tool · Create

HTTPS Redirect Generator (.htaccess and Nginx)

After installing SSL you still need to send visitors from http to https. Choose your server, pick www or non-www, and copy the rules. This is the same redirect that fixes duplicate pages in Google Search Console.

Your settings

Copy these rules

Test after saving: open http://yourdomain and the www version. Both should land on your preferred https address with one redirect. Then run the SSL checker.

FAQ

About this tool

Short answers. More in the guides.

Read the guides
Should I use www or non-www?
Either works. Pick one, redirect the other with a 301, and use the same version in your sitemap and canonical tags. Mixing both splits your Google ranking between two copies of every page.

Need a certificate to go with this tool?

Every SSL with a PKR price, the requirements listed, and a quotation in one click.

Bank transferJazzCashEasyPaisaDebit or credit card
WhatsApp, reply in minutes