Share
Generate Apache and Nginx redirect rules from old/new URL pairs.
Generate server redirect rules for Apache (.htaccess) and Nginx config files. Enter an old URL and new URL, choose a redirect type (301 permanent or 302 temporary), and get the correct server config snippet ready to copy.
Quickly create server-ready redirect rules for Apache or Nginx by entering your old and new URL pairs.
Enter the original source URL
Input the old URL path or full address that you want to redirect from in the first field.
Input the destination target URL
Paste the new URL where you want users and search engines to be sent after the redirect.
Select your redirect status code
Choose between a 301 permanent redirect for SEO or a 302 temporary redirect based on your needs.
Choose your server configuration type
Select either the .htaccess option for Apache servers or the Nginx config format for your specific environment.
Copy the generated code snippet
Review the automatically generated rule and copy the code directly into your server configuration file.
Estimated time: PT1M
Share this tool