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. Technical SEO Issues
    4. Limits to 301 in htaccess?

    Limits to 301 in htaccess?

    Technical SEO Issues
    4 4 975
    • 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.
    • AdoptionHelp
      AdoptionHelp last edited by

      I'm about to launch a redesign of my company's main website, and we've updated most of the URLs to be more user friendly and SEO optimized. I've just finished editing my spreadsheet, and see that I'll need to implement 244 redirects.

      My question is: Are there performance issues with loading your .htaccess file up with almost 250 301 redirect commands? I've heard a bloated htaccess file can really slow down apache, should I be approaching this a different way, maybe with php?

      1 Reply Last reply Reply Quote 0
      • Vahe.Arabian
        Vahe.Arabian last edited by

        Ryan,

        htaccess is the best way to go. The truth is it could potentially slow down your site due to the many server requests applicable. 250 is not too bad. However there are alternatives you can consider for speeding up your site.

        (1) If your site has other aspects which are slowing down the site, why not improve on those elemtn

        (2) Host your sites assets on a CDN, makes your site alot faster.

        (3) If your old pages have very low authority use regex and redirect them to the relevant category page, rather than mapping them to the alternative new page. I wouldn't recommend this unless you really have time restrictions.

        Make sure you however update the broken links for the old page to the relevant new page for both internal linking & external linking purposes.

        Hope this helps.

        SamAllen 1 Reply Last reply Reply Quote 3
        • SamAllen
          SamAllen @Vahe.Arabian last edited by

          I agree with this response.

          250 redirects is a modest number. I have sites with 1000's that have no problems.

          1 Reply Last reply Reply Quote 1
          • JarnoNijzing
            JarnoNijzing last edited by

            Ryan,

            as long as you don't use more then 1 redirect per page not one browser will coze problems.

            I had a problem with htaccess once beceause i redirected more then 1 variation of a page to the same new page and that generated errors in Safari, Mozilla and Chrome but not IE 8.x..

            You should be fine for now.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • 301 redirect syntax for htaccess
              IOHanna
              IOHanna
              1
              3
              6.0k

            • 404 to 301 redirects is there a limit?
              Matt-Williamson
              Matt-Williamson
              0
              2
              121

            • 301 redirects without .htaccess
              NancyVPS
              NancyVPS
              0
              5
              2.0k

            • .htaccess Redirect 301 issues
              Cyberace
              Cyberace
              0
              5
              140

            • Help creating a 301 redirect in my htaccess file
              Felip3
              Felip3
              0
              4
              108

            • 301 redirect .htaccess
              Christy-Correll
              Christy-Correll
              0
              5
              234

            • Do I need a 301 redirect on htaccess if Apache is already configured to serve?
              riplash
              riplash
              0
              6
              355

            • What are the SEOmoz-suggested best practices for limiting the number of 301 redirects for a given site?
              KeriMorgret
              KeriMorgret
              0
              4
              862

            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