Useful Hacks

Nginx Redirect Generator

Generate Nginx server block redirect rules.

Processed locally in your browser. Nothing you enter is uploaded.

Overview

Generates permanent/temporary rewrite rules for an Nginx server block — the Nginx equivalent of an Apache .htaccess redirect.

How to use it

  1. 1Add a row per redirect with its old and new path.
  2. 2Choose permanent (301) or redirect (302) per rule.
  3. 3Copy the generated block into your server configuration.

Related tools

All seo tools

Search tools

Search for any tool by name, category or keyword