Domain Redirects

Domain redirection is a process that involves forwarding one domain to another. This is similar to a URL redirect. However, domain redirection involves redirecting all URLs from one domain to another. This can be useful in a variety of situations, such as when you have changed your website's domain name or want to redirect traffic from the old domain to the new one. This is especially useful for mergers and acquisitions. In this article, we will explore the different components of domain redirection and how you can implement it for your domain and/or site.

In this article, you'll find: 

Domain redirects: forwarding traffic from one domain to another

There are two primary components of domain redirection: the source domain and the target domain. The source domain is the original domain that you want to redirect traffic from, while the target domain is the new domain that you want to redirect traffic to. In the interface of redirect.pizza, we also call the target domain a “destination” domain. 

Generally, there are two different types of redirects used by most websites: 

  1. 301 redirects: this is a permanent redirect that tells search engine crawlers that the source URL has permanently moved to a new location (destination URL). This type of redirect is the best in terms of search engine optimization (SEO) as it passes on link equity from backlinks generated for the old domain. This means that any backlinks pointing to the old page will now point to the new one. Search engines, such as Google, use link equity (backlinks) to rank the pages in their index.  
  2. 302 redirects: this is a temporary redirect that tells search engines and browsers that the source URL has temporarily moved to a new location. Unlike a 301 redirect, a 302 redirect does not pass on link equity. This type of redirect is generally used for A/B testing, or when performing maintenance on the site.
  3. URL frame (masked redirect): in some situations, it’s useful to use URL frame redirects (also called URL masking). This type of redirect is similar to a URL redirect. However, instead of redirecting the user to the destination URL, the destination URL is displayed in an iframe on the domain itself. So the user still sees the same domain name, but the web page is from another domain. 

Learn more about the difference between 301 and 302 redirects and all the other different types of redirects and forwarding options you can use with redirect.pizza.

How to implement domain redirects? 

Implementing domain redirects can be done manually on your own hosting solution, but requires some expertise. Aside from that, domain redirects can be implemented using plugins and other tools. Here are three ways they can do it:

Editing the .htaccess file - this file contains configuration settings for websites running on Apache servers. Website owners and admins can access the .htaccess file via (S)FTP to set up redirects. This is done by adding the necessary code to redirect traffic from the source domain to the target domain. Here's an example of a 301 domain redirect via the .htaccess file: 

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.destinationsite.com/$1 [R=301,L]

In the example above, you have to replace the domain “destinationsite” with the appropriate new domain name.

Many content management systems (CMS) have plugins that make it easy to set up redirects without having to touch any code. For example, WordPress has several plugins that allow you to create and manage redirects through a user-friendly interface.

such as redirect.pizza. If you have many redirects you’d like to configure, or if you have many different domains, it might be useful to use dedicated redirection tools. The main advantages of using redirect.pizza is that it’s easy to set up, reliable, fast, and offers great support. You can even start implementing redirects for free!

Pricing Background
Domain redirects delivered hassle-free

Get started right away

  • Free plan
  • No creditcard required

How to redirect your domain with redirect.pizza

  1. 1

    Step 1: Register your account - for Free

    Create a free account using your Github, Apple, or Google account. Or simply drop us your e-mail address. You’ll get access to our redirect service straight away! 

  2. 2

    Step 2: Create redirect

    After signing up, click on "create a redirect" to get started. In the create a redirect window, enter the source URL (your old domain) and the destination URL (new domain). Learn more in our getting started guide

    Create redirect

  3. 3

    Step 3: Adjust DNS settings

    The required DNS change pops up. Go to your domain registrar to make this DNS change for the A record. Alternatively, you can use our Automatic DNS feature to make these changes. It may take up to 24 hours for the DNS changes to propagate. 

  4. 4

    Step 4: Test your redirect and keep track of your analytics

    Type your (old) source URL in the address bar of your browser and click "enter". Are you redirected to the destination URL? Then the redirect is working! You can keep track of your redirect using the Redirect Analytics window. Are you experiencing issues? Check out our redirect troubleshooting guide

Conclusion

Domain redirects are a crucial tool for managing website transitions and maintaining user experience. They allow website owners to seamlessly guide visitors from old URLs to new ones, preserving traffic and search engine rankings. Whether you're rebranding, consolidating websites, or simply updating your domain structure, implementing proper redirects ensures that users and search engines can find your content without interruption.

redirect.pizza offers a hassle-free solution for managing domain redirects, providing full HTTPS support and API compatibility. Their service automates the process of obtaining and installing SSL certificates for old domains, eliminating manual labor and potential SSL errors. By utilizing a reliable redirect service like redirect.pizza, website owners can focus on their core business while ensuring a smooth transition for their online presence.