Introduction to the htaccess to nginx converter

The htaccess to nginx tool provides online conversion between htaccess and nginx, converts apache pseudo-static files into nginx rewrite rules, turns htaccess pseudo-static rules into nginx, converts apache RewriteRule into rewrite, apache pseudo-static files into nginx rewrite rules and apache into nginx rewrite rules. This tool supportsAll htaccessConvert pseudo-static, basic configuration rules, redirects and so on to nginx.

Recently used:

How to use

This tool belongs to the “Webmaster tools” category.

  1. 1Have your domain or source file ready — a favicon image, an .htaccess file, a site URL.
  2. 2Follow the prompt and read the specific items returned (status code, size, matched rule).
  3. 3Download the artefact and place it yourself, e.g. a favicon needs to sit at the site root and be declared with a link tag.

Your input is processed locally in the browser whenever possible. We do not store it.

Frequently asked questions

The check looks cached

Most checks rely on public fetching, and the target may sit behind a CDN. Re-test later or compare nodes.

Is the ICP filing lookup accurate?

It comes from a public endpoint and can lag. The MIIT record is authoritative.

Why does the favicon not show on mobile?

Ship multiple sizes (or a PNG) and declare link rel="icon"; browser caching also delays the new icon.