a toolbox for the web.

Redirect Generator - Generate 301 Redirect .htaccess PHP & HTML Codes

This page has three different tools for generating redirect codes for Apache .htaccess, PHP and HTML meta refresh. Just select your options and create as many redirects as you need.

Generate Apache .htaccess Redirect Code

Generate PHP Redirect Code

Generate HTML Meta Tag Redirect Code

What is This tool?

It is a free redirect generator that offers options for creating the most popular types of redirect codes on the internet. The .htaccess tool allows for the import of a list of URLs and for manual implementation. You can also set the status code for the redirect. The PHP and HTML tools offer a simple way to create redirects correct for server-side and user-end applications.

Redirect Status Codes 3xx

  • 301 Moved Permanently
  • 302 Found (Previously "Moved temporarily")
  • 304 Not Modified (RFC 7232)
  • 305 Use Proxy (since HTTP/1.1)
  • 307 Temporary Redirect (since HTTP/1.1)
  • 308 Permanent Redirect (RFC 7538)

Hopefully, you find this tool useful. If you would like it to be improved in any way please let me know in the comments.