HTTP To HTTPS Redirect
Generate rules that move visitors onto HTTPS while keeping your chosen hostname, paths and query strings.
Tool Inputs
Runs On Your DeviceTool Results
A Little Input.
A Useful Answer.
Fill in your details and select Run Tool. Your results will appear here, ready to copy or download.
How To Use This ToolPrivate saves: 10 per account, or 30 for Gromfrog customers.
How This Tool Works
Generate rules that move visitors onto HTTPS while keeping your chosen hostname, paths and query strings. Consistent URLs help visitors and search engines reach the version of your website you want to use. This generator runs on your device and creates configuration text; it does not change your website.
Explore Technical SEO & Structured Data ToolsHow To Use It
Enter a domain, www address or full URL and select Apache or NGINX. The rules apply to the whole hostname, even if your input includes a path. Choose a redirect status, then generate, review and copy or download your rules. Test them on your server and use the Ultimate SEO Report to check sampled URL variants.
Good To Know
301 and 308 are permanent redirects; 308 preserves the request method. 302 is temporary. Configure DNS and valid TLS certificates before using HTTPS, including on any HTTPS hostname that redirects. These templates assume TLS terminates on your server; configure redirects at your CDN or trusted proxy if it terminates TLS. Keep canonical tags, internal links and sitemaps aligned with your destination.
Ultimate SEO Report
See how the pieces fit together. Crawl your website, explore its structure and turn SEO findings into a practical action plan.
- Technical SEO Checks
- Site Map & Performance
- PDF & Excel Exports