The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. On-Page / Site Optimization
    4. .htaccess redirect chains

    .htaccess redirect chains

    On-Page / Site Optimization
    4 3 458
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ztalk112
      ztalk112 last edited by

      At item 4 in the post at http://moz.com/blog/htaccess-file-snippets-for-seos the author recommends combining .htaccess redirects to avoid chaining redirects.

      I'd be obliged if someone could expand on:

      1. What he means by chained redirects

      2. How to combine the redirects per his recommendation

      Cheers.

      1 Reply Last reply Reply Quote 0
      • TheeDigital
        TheeDigital last edited by

        Chain redirects just mean that a page redirects once, and then redirects again to something else.

        An example might be a site that was originally in html, then php, and now has no file extension.

        If the redirects were left in order each time a site was upgraded, you might go from page.html to page.php to page.

        The easiest way to clean them up is to make sure all redirects go to the current version of the page.

        MoosaHemani ztalk112 2 Replies Last reply Reply Quote 2
        • MoosaHemani
          MoosaHemani @TheeDigital last edited by

          sweet and simply.... good example!

          1 Reply Last reply Reply Quote 0
          • ztalk112
            ztalk112 @TheeDigital last edited by

            Terrific, thanks!

            And combining the redirects quoted in that post . . . how should that be done correctly?

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • My site auto redirects http to https. This is causing redirect chains. What can I do?
              WebQuest
              WebQuest
              0
              2
              130

            • Redirect chains and rankings
              R0bin_L0rd
              R0bin_L0rd
              0
              3
              48

            • How To Avoid Redirect Chains When Switching From http to https
              BWiseContractors
              BWiseContractors
              0
              5
              750

            • Redirect Chain
              Nigel_Carr
              Nigel_Carr
              0
              2
              685

            • Htaccess redirect, from /year/month to /blog
              sergeystefoglo
              sergeystefoglo
              0
              3
              338

            • How to 301 redirect, without access to .htaccess and to a new domain
              BruceA
              BruceA
              0
              4
              3.3k

            • 302 redirect (temporary redirect)
              Shanaki
              Shanaki
              0
              8
              1.4k

            • Is it redundant to include a redirect to my canonical domain (www) in my .htaccess file since I already have the correct rel="canonical" in my header?
              jesse-landry
              jesse-landry
              0
              4
              224

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy