Webmaster Tools
Redirect Generator
Generate .htaccess or Nginx redirect rules for your website.
Redirect Rules
Redirect 1
Generated Configuration
.htaccess Output
How to use Redirect Generator
1
Enter redirect rules
Add source URLs (old URLs) and target URLs (new URLs) for each redirect you need.
2
Choose redirect type
Select 301 (permanent) for permanent moves or 302 (temporary) for temporary redirects.
3
Copy the configuration
Copy the generated .htaccess or Nginx configuration and add it to your server configuration file.