WPMozo Add-ons and tools for WordPress, Block Editor, Elementor and WooCommerce Explore add-ons
⚡ Developer · Client-side · No data sent to server

Nginx Redirect Generator

Build clean Nginx redirects without writing regex by hand. Add path-to-URL rules, force HTTPS, and pick a canonical www or non-www host, then copy the server blocks.

Your domain

Canonical rules

Path redirects

301 is a permanent move (passes ranking signals). 302 is temporary. The "to" value can be a path or a full URL.

nginx server blocks
 Copied 
How to apply. Place the server blocks in your site config, then run nginx -t && systemctl reload nginx. SSL certificate lines are left as placeholders for you to fill in. Everything is generated in your browser.

Guides

DiviExtended Premium Divi child themes and plugins View Divi Plugins