301 Redirect Generator

    Generate bulk 301 redirects for Apache (.htaccess), Nginx, or PHP. Simply paste your old URLs and new URLs to get the code instantly. Essential for any website migration.

    Configuration
    For .htaccess redirects, the tool will automatically remove the root domain from the old URLs. URL limit is 500.

    Easily manage your site’s redirects

    Easily manage your site’s redirects with our 301 Redirect Generator, designed for simplicity and precision. Whether you’re migrating content, fixing broken links, or optimising SEO, our tool generates clean, optimised redirect code tailored to your server setup: Apache, Nginx, or PHP. Simply enter your old and new URLs, choose your format, and customise options like regex support or trailing slash consistency. With just a few clicks, get ready-to-deploy code that keeps your website’s user experience smooth and SEO intact.

    Frequently Asked Questions

    There are different types of HTTP status codes used on the web. A 301 redirection means you have moved the URL permanently. In most instances, the 301 redirect is the best method for implementing redirects on a website, as it will pass whatever authority is available in the old URL to the new URL/domain.
    If you are changing your domain name or changing a URL for permanently you need to redirect the old URL or the domain name with 301 URL method.

    If you are using WordPress as your CMS, there are many free plugins available that will help you easily perform 301 redirections. Below are some of the most popular plugins for URL redirection.

    1. Simple 301 Redirects
    2. WP SEO Redirect 301
    3. Redirection
    The other option is to update your htaccess file with the 301 redirection code. You can use the redirect code generator above or download the Excel template below and update your URL set. The template will automatically generate the URL list for you.