Redirects

Everything You Need to Know About a URL Redirect Service

October 23, 2024
12 min read

Have you ever accidentally mistyped a web address but still landed on the correct page? That’s because the organization behind your virtual destination relied on a URL redirect: a tool websites use to “reroute” or send visitors to an alternative webpage. For example: you type the original URL “example.com” in your web browser, but are taken to a different website, like “new-example.com.” 

URL redirects are a common practice employed by webmasters and content managers to ensure website visitors reach their desired content. They’re utilized during website migrations and mergers, brand updates, special offer campaigns, and other scenarios. Most organizations work with a URL redirect service like SiteDetour to conduct URL redirects. This can save an organization considerable time and energy. It also ensures the process goes smoothly and meets all security and compliance requirements.

Here, we’ll cover everything you need to know about a URL redirect service—from how it works to why you might need one.

A person using Google to search something
Person with search engine opened on computer

How URL redirect services work 

As explained above, URL redirect services send visitors from one URL to a new one. It’s similar to how the post office forwards your mail to a new address when you move. It’s a simple enough process on the user’s end. 

The back-end process is more complex. Normally, when someone types a URL into a browser, the server instructs the browser to respond with the appropriate content. When a redirect is in place, the server responds with a special piece of data (an HTTP response header). This instructs the browser to reroute the visitor to an alternative location. In other words, it takes a new path specified by the server.

It’s technically possible to conduct a URL redirect without sourcing external support. However, the various nuances involved in the process make it highly advisable to work with a URL redirect service provider like SiteDetour. For instance, URL redirects require the procurement and renewal of SSL certificates. A URL redirect service automatically performs this task, as well as other essential security and compliance measures.

The three basic types of URL redirects

Three basic types of URL redirects exist, divided into two main categories: permanent and temporary. Here’s the scoop on each redirect, including the context for each one.

301 redirect

This redirect notifies search engines and web browsers that the requested page has permanently relocated to a new location. These redirects are used for website migrations, mergers, and any other situation where the move is meant to last.

Web browsers like Chrome and Firefox often cache permanent redirects. That makes it tricky to undo the work of a permanent 301 redirect, so you should only use a 301 redirect when you know the target location will stay the same. 

Common uses for a 301 redirect include:

  • When a website changes its domain name. In this scenario, the site should be 301 redirecting all traffic for its old domain name to the new website URL.
  • When pages within your website have been permanently moved to a new URL.

Remember: Because 301s are permanent, it’s essential to ensure the redirect target URL is correctly specified.

302 Temporary Redirect

Commonly referred to as a “temporary” redirect, 302 redirects are useful for general-purpose redirects within your website, where you do not want visitors to cache the redirect response permanently. Use 302 redirects for pages that have changed URL, but are subject to updates in the future.

Common uses for a 302 redirect include:

  • A page is temporarily being moved to a new URL.
  • Conditions where the destination location of the redirect is subject to change.
  • Navigating the user away from a page during an error.

307 Redirect

This temporary redirect is infrequently used due to legacy browser support. 307 redirects come in handy when a visitor's HTTP request method should persist during the redirect. 

For example: if a user submits a form, the browser normally issues a POST request to the form's action URL. If the server responds with a 302 redirect response, the client's web browser handles the redirect by issuing a GET request. However, if the server responds with a 307 redirect response, the client's web browser will POST request to the redirect destination.

Note: Form data is typically lost when redirecting via a POST request.

URL redirect services can handle each of these types of redirect requests. All it takes from users is a few simple clicks. Besides saving organizations considerable time and energy, URL redirect services ensure redirects are handled securely. This can make all the difference for organizations that must meet compliance regulations—or anyone who wants to uphold a professional online presence. 

A white arrow painting a blue brick wall
Redirect arrow

Avoiding URL redirect chains

Knowing what type of redirect you need to implement-—temporary or permanent—is a key consideration when using a URL redirect service. Another important thing to keep in mind is avoiding URL redirect chains. These occur when a request for a web page results in the server jumping through multiple web addresses to arrive at its destination. The path doesn’t go from A to B; it goes from A, to C, to D, and then to B. 

In the case of a URL redirect loop, the path doesn’t make it to B at all but returns to A.

Whatever the case, URL redirect chains and loops can negatively impact SEO and user experience. URL redirect services can help users avoid them by guiding the process and offering troubleshooting support after changes have been made. For instance, SiteDetour has a visualizer tool that enables users to visualize chains and correct any redirect loops or chains.  

5 common redirect use cases

Now that we’ve covered the nitty gritty of URL redirects, we can explore why organizations choose them. The most common use cases include:

  • Domain name change: An organization is moving to a new website or merging with another one.
  • Restructured website pathing: If an organization renovates its website, it needs to implement URL changes for the affected content.
  • URL shortening: URL redirection services can provide shorter, more memorable alternatives to an organization’s primary domain name. (This is known as a vanity domain.)
  • Consolidating alternative domains: URL redirects send traffic from additional or alternative domains users may accidentally access. For example: gogle.com redirects to google.com.
  • Redirect naked domains: A so-called naked domain lacks the “www”. So if a user types domain.com, they are redirected to www.domain.com

This list isn’t exhaustive. For instance, organizations may set up temporary redirects as part of a marketing campaign or related strategy.

When to use a URL redirect service

If you’re making changes to your digital content, you might wonder if you need to utilize URL redirects. Here are some scenarios where the answer is “yes.” 

  • You manage multiple domains: URL redirect services allow you to easily manage hundreds or even thousands of domain names. Why would an organization want to own so many domains? It depends, but one common reason is to maximize the number of website visitors. For instance, google.com owns gogle.com so people who accidentally misspell the address still reach the correct website. 
  • You want support for security and compliance measures: URL redirects are complex processes with many moving parts. Working with a third party ensures your website stays secure and meets compliance requirements. One key consideration is SSL certificate procurement and maintenance—a technical undertaking that many organizations want to leave to the pros.
  • You want to easily manage path-based routing to multiple locations: URL redirect services ensure all pages on a domain arrive at their new destination. For example, once you choose a new domain and start your website migration, URL redirect services can seamlessly move x.com/t-shirts to y.com/shirts
  • You want to preserve your SEO: Performing a URL redirect incorrectly can hurt your SEO. URL redirect services can guide you through the process, helping you choose the right type of redirect and ensuring all your hard work stays intact.

URL redirect services can guide this process, making any project that requires URL redirects—from a website migration to running a seasonal campaign—smooth and efficient. 

SiteDetour also allows companies to create dynamic URL redirects. That means organizations can determine specific web pages for visitors to arrive at depending on their behavior. This allows organizations to set up targeted campaigns that yield specific business outcomes. 

For instance, say a company wants anyone in Brooklyn, NY to land on a certain web page. They can specify those parameters in SiteDetour’s platform. Anyone who goes to the company website while in Brooklyn will land on a web page customized for that visitor. These types of personalized campaigns can be customized by other relevant metrics such as the type of web browser, the day, or even the time of day.

To learn more about SiteDetour and how it can optimize your online presence, schedule a demo or get started today with a free trial

FAQs

  • URL redirect services help websites “reroute” or send visitors to an alternative webpage.
  • There are three main different types of URL redirects:some text
    • 301 - Indicates to search engines and web browsers that the requested page has permanently relocated to a new location.
    • 302 - Useful for general-purpose redirects within your website, where you do not want visitors to cache the redirect response permanently.
    • 307 - Used for technical scenarios when a visitor's HTTP request method should persist when they are redirected. This type is not commonly used.

Ready To Manage Your Links More Effectively?

Our team is ready to help you manage your links more efficiently so you can get back to what it is you do best!

URL Redirect Link Management
Redirects

Everything You Need to Know About a URL Redirect Service

April 3, 2023
12 min read
Street sign showing 301/302 redirection

A redirect is a tool used by websites for “rerouting” or sending a visitor to an alternative webpage. An example of a redirect would be when you type “example.com” in your web-browser, but are taken to a different website, like “new-example.com.”

URL redirects are an extremely common practice employed by webmasters and content managers to ensure visitors to their website are reaching their desired content.

When would I use a redirect?

  1. A page has been relocated within your site
    Let’s say your website has a page by the path “/t-shirts” – The “t-shirts” page has been a part of your website sitemap for years, and is one of your most frequently visited pages. Suddenly, you need to build out a more general page on your site that has t-shirts, and dress shirts. Your goal is to have the new page be accessible by a shorter, more general path, like “/shirts”. In this situation, you would want to use a URL redirect to ensure that traffic for the page “/t-shirts” is successfully rerouted to the new “/shirts” page of your website. Without a redirect in place, you could run the risk of visitors still accessing the old /t-shirts page, even though you want to drive all traffic to the new /shirts page. Due to the nature of SEO, it’s possible that there are many links throughout the Internet that still point visitors to the old URL, and it is the job of the URL redirect to ensure visitors still make it to the appropriate page.
  2. Your domain name is changing!
    Changing a website’s domain name is a drastic decision which must be handled with the utmost care. Let’s say your website has always been www.abc-brand.com. Due to a rebranding effort, you are changing your brand from “ABC” to “XYZ”, and thus your website’s URL will need to be adjusted to reflect the change. In this scenario, it would be critical that you 301 redirect all traffic requesting “abc-brand.com” to the new and improved “xyz-brand.com”. Furthermore, you would want to ensure that all pages within the abc-brand website are also redirected, like abc-brand.com/my-page being redirected to xyx-brand.com/my-page
  3. You have alternative domains that you wish to serve as “shortcuts” into your website
    It is a common practice for businesses to buy dozens of domain names that:
  • Are spelled similarly to their business name – consider “gogle.com” that redirects to google.com
  • Are variations of their name that visitors may otherwise know them as – consider “joes-tees.com” that redirects to the main business website, “joes-shirts.com”
  • Are shortened, easily typed versions of the primary domain name – consider “shirtsale2019.com” redirecting to “joes-shirts.com”. It is common to find this shorter, more memorable URL variation on physical advertisements because people are more likely to remember them. As such, a URL redirect would be used to reroute the alternative domain name to your primary domain name of your website.

How does a redirect actually work?

When you request a web-page from your browser, there is a server somewhere on the Internet that is receiving your request and responding with the appropriate content. Fundamentally, a redirect occurs when a web-server's response contains a special piece of data (an HTTP response header) instructing the browser to reroute the visitor to an alternative location.

The technical details aside, a browser works by requesting a URL and rendering the page that is returned by the website. If the website wishes the user to be redirected, the server will respond differently than if it was serving a page; it will send an extra piece of data indicating that the visitor should be redirected to a specified location.

Without going into too much of the technical details – a redirect is a behavior performed by a web-browser whenever it receives a response containing a flag (an HTTP header) to do so.

What are the types of redirects available?

301 Redirect

Commonly referred to as a “permanent” redirect.

Indicates to search-engines and web-browsers that the requested page has permanently relocated to a new location.

Note: permanent redirects are often cached by web-browsers like Chrome and Firefox. Therefore, it may be tricky to retroactively update a 301 redirects target location once it has been established. Any visitors who have already received the 301 redirect response for a URL will likely be served a cached response from their web-browser when visiting the same URL again.

Suggestion Only use a 301 redirect when you know that the target location will not change.

Common Uses

  • A 301 redirect is appropriate when a website is changing it’s domain name. In this scenario, the site should be 301 redirecting all traffic for it’s old domain name to the new website URL.
  • Another common use-case for a 301 redirect is for pages within your website that have been permanently moved to a new URL

302 Redirect

Commonly referred to as a “temporary” redirect.

Useful for general-purpose redirects within your website, where you do not want visitor’s to cache the redirect response permanently.

Suggestion Use 302 redirects for pages that have changed URL, but are subject to be updated in the future

Common Uses

  • A page is temporarily being moved to a new URL
  • Conditions where the destination location of the redirect is subject to change
  • Navigating the user away from a page during an error

307 Redirect

Uncommon due to legacy browser support

Used for technical scenarios when a visitor’s HTTP request method should be persisted when they are redirected. For example, if a user submits a form, the browser normally issues a POST request to the form’s action URL. If the server responds with a 302 redirect response, the client’s web-browser would typically issue a GET request when handling the redirect. However, if the server responds with a 307 redirect response, the client’s web-browser will POST request to the redirect destination. Please note, form-data is typically lost when redirecting via POST request.

When do I need a redirect?

The most common use-cases that would require a redirect are:

  1. Changing your domain name
  2. Restructuring website pathing, resulting in URL changes for content within your website
  3. URL shortening – having a shorter, more memorable alternative to your primary domain name.
  4. Sending traffic from additional/alternative domain names (Example: gogle.com redirects to google.com)
  5. Sending traffic from your DNS zone apex / naked domain name to your “www” sub-domain (Example: domain.com 301 redirects to www.domain.com)

Important considerations when redirecting a URL

  1. Ensure your URL supports HTTPS connections! Otherwise you may have visitors who are receiving broken links.
  2. When redirecting a specific path within your website, you may want to match paths based on a pattern or Regular Expression, as opposed to a single path.
  3. Seriously consider whether you should use a 301 or a 302, based on the information above.

Have you ever accidentally mistyped a web address but still landed on the correct page? That’s because the organization behind your virtual destination relied on a URL redirect: a tool websites use to “reroute” or send visitors to an alternative webpage. For example: you type the original URL “example.com” in your web browser, but are taken to a different website, like “new-example.com.” 

URL redirects are a common practice employed by webmasters and content managers to ensure website visitors reach their desired content. They’re utilized during website migrations and mergers, brand updates, special offer campaigns, and other scenarios. Most organizations work with a URL redirect service like SiteDetour to conduct URL redirects. This can save an organization considerable time and energy. It also ensures the process goes smoothly and meets all security and compliance requirements.

Here, we’ll cover everything you need to know about a URL redirect service—from how it works to why you might need one.

A person using Google to search something
Person with search engine opened on computer

How URL redirect services work 

As explained above, URL redirect services send visitors from one URL to a new one. It’s similar to how the post office forwards your mail to a new address when you move. It’s a simple enough process on the user’s end. 

The back-end process is more complex. Normally, when someone types a URL into a browser, the server instructs the browser to respond with the appropriate content. When a redirect is in place, the server responds with a special piece of data (an HTTP response header). This instructs the browser to reroute the visitor to an alternative location. In other words, it takes a new path specified by the server.

It’s technically possible to conduct a URL redirect without sourcing external support. However, the various nuances involved in the process make it highly advisable to work with a URL redirect service provider like SiteDetour. For instance, URL redirects require the procurement and renewal of SSL certificates. A URL redirect service automatically performs this task, as well as other essential security and compliance measures.

The three basic types of URL redirects

Three basic types of URL redirects exist, divided into two main categories: permanent and temporary. Here’s the scoop on each redirect, including the context for each one.

301 redirect

This redirect notifies search engines and web browsers that the requested page has permanently relocated to a new location. These redirects are used for website migrations, mergers, and any other situation where the move is meant to last.

Web browsers like Chrome and Firefox often cache permanent redirects. That makes it tricky to undo the work of a permanent 301 redirect, so you should only use a 301 redirect when you know the target location will stay the same. 

Common uses for a 301 redirect include:

  • When a website changes its domain name. In this scenario, the site should be 301 redirecting all traffic for its old domain name to the new website URL.
  • When pages within your website have been permanently moved to a new URL.

Remember: Because 301s are permanent, it’s essential to ensure the redirect target URL is correctly specified.

302 Temporary Redirect

Commonly referred to as a “temporary” redirect, 302 redirects are useful for general-purpose redirects within your website, where you do not want visitors to cache the redirect response permanently. Use 302 redirects for pages that have changed URL, but are subject to updates in the future.

Common uses for a 302 redirect include:

  • A page is temporarily being moved to a new URL.
  • Conditions where the destination location of the redirect is subject to change.
  • Navigating the user away from a page during an error.

307 Redirect

This temporary redirect is infrequently used due to legacy browser support. 307 redirects come in handy when a visitor's HTTP request method should persist during the redirect. 

For example: if a user submits a form, the browser normally issues a POST request to the form's action URL. If the server responds with a 302 redirect response, the client's web browser handles the redirect by issuing a GET request. However, if the server responds with a 307 redirect response, the client's web browser will POST request to the redirect destination.

Note: Form data is typically lost when redirecting via a POST request.

URL redirect services can handle each of these types of redirect requests. All it takes from users is a few simple clicks. Besides saving organizations considerable time and energy, URL redirect services ensure redirects are handled securely. This can make all the difference for organizations that must meet compliance regulations—or anyone who wants to uphold a professional online presence. 

A white arrow painting a blue brick wall
Redirect arrow

Avoiding URL redirect chains

Knowing what type of redirect you need to implement-—temporary or permanent—is a key consideration when using a URL redirect service. Another important thing to keep in mind is avoiding URL redirect chains. These occur when a request for a web page results in the server jumping through multiple web addresses to arrive at its destination. The path doesn’t go from A to B; it goes from A, to C, to D, and then to B. 

In the case of a URL redirect loop, the path doesn’t make it to B at all but returns to A.

Whatever the case, URL redirect chains and loops can negatively impact SEO and user experience. URL redirect services can help users avoid them by guiding the process and offering troubleshooting support after changes have been made. For instance, SiteDetour has a visualizer tool that enables users to visualize chains and correct any redirect loops or chains.  

5 common redirect use cases

Now that we’ve covered the nitty gritty of URL redirects, we can explore why organizations choose them. The most common use cases include:

  • Domain name change: An organization is moving to a new website or merging with another one.
  • Restructured website pathing: If an organization renovates its website, it needs to implement URL changes for the affected content.
  • URL shortening: URL redirection services can provide shorter, more memorable alternatives to an organization’s primary domain name. (This is known as a vanity domain.)
  • Consolidating alternative domains: URL redirects send traffic from additional or alternative domains users may accidentally access. For example: gogle.com redirects to google.com.
  • Redirect naked domains: A so-called naked domain lacks the “www”. So if a user types domain.com, they are redirected to www.domain.com

This list isn’t exhaustive. For instance, organizations may set up temporary redirects as part of a marketing campaign or related strategy.

When to use a URL redirect service

If you’re making changes to your digital content, you might wonder if you need to utilize URL redirects. Here are some scenarios where the answer is “yes.” 

  • You manage multiple domains: URL redirect services allow you to easily manage hundreds or even thousands of domain names. Why would an organization want to own so many domains? It depends, but one common reason is to maximize the number of website visitors. For instance, google.com owns gogle.com so people who accidentally misspell the address still reach the correct website. 
  • You want support for security and compliance measures: URL redirects are complex processes with many moving parts. Working with a third party ensures your website stays secure and meets compliance requirements. One key consideration is SSL certificate procurement and maintenance—a technical undertaking that many organizations want to leave to the pros.
  • You want to easily manage path-based routing to multiple locations: URL redirect services ensure all pages on a domain arrive at their new destination. For example, once you choose a new domain and start your website migration, URL redirect services can seamlessly move x.com/t-shirts to y.com/shirts
  • You want to preserve your SEO: Performing a URL redirect incorrectly can hurt your SEO. URL redirect services can guide you through the process, helping you choose the right type of redirect and ensuring all your hard work stays intact.

URL redirect services can guide this process, making any project that requires URL redirects—from a website migration to running a seasonal campaign—smooth and efficient. 

SiteDetour also allows companies to create dynamic URL redirects. That means organizations can determine specific web pages for visitors to arrive at depending on their behavior. This allows organizations to set up targeted campaigns that yield specific business outcomes. 

For instance, say a company wants anyone in Brooklyn, NY to land on a certain web page. They can specify those parameters in SiteDetour’s platform. Anyone who goes to the company website while in Brooklyn will land on a web page customized for that visitor. These types of personalized campaigns can be customized by other relevant metrics such as the type of web browser, the day, or even the time of day.

To learn more about SiteDetour and how it can optimize your online presence, schedule a demo or get started today with a free trial

FAQs

  • URL redirect services help websites “reroute” or send visitors to an alternative webpage.
  • There are three main different types of URL redirects:some text
    • 301 - Indicates to search engines and web browsers that the requested page has permanently relocated to a new location.
    • 302 - Useful for general-purpose redirects within your website, where you do not want visitors to cache the redirect response permanently.
    • 307 - Used for technical scenarios when a visitor's HTTP request method should persist when they are redirected. This type is not commonly used.