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. Can ht access file affect page load times

    Can ht access file affect page load times

    Technical SEO Issues
    8 4 135
    • 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.
    • ahw
      ahw last edited by

      We have a large and old site. As we've transition from one CMS to another, there's been a need for create 301 redirects using our ht access file.

      I'm not a technical SEO person, but concerned that the size of our ht access file might be contributing source for long page download times.

      Can large ht access files cause slow page load times?  Or is the coding of the 301 redirect a cause for slow page downloads?

      Thanks

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

        The ultimate source for testing what affects page load in terms of assets is here:  http://tools.pingdom.com/fpt/

        The size of the htaccess file shouldn't really affect a page's load speed.  With a 301 redirect, if someone goes to the new page, I don't see why it would load more slowly.  If you went to the old page, you're adding on the time of the redirect.  Since hopefully the old page shouldn't be rendering anything, it should be near instant.

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

          Yes, huge .htaccess files will delay your page load.

          A couple of tips:

          1. File size: keep the number of rules to a minimum by using regular expressions.
          2. Execution: if it is applicable make .htaccess smarter by using the L tag to stop the process once a rule is matched.

          Hope it helps!

          1 Reply Last reply Reply Quote 3
          • HorizonsWM
            HorizonsWM last edited by

            How many pages are you redirecting?

            1 Reply Last reply Reply Quote 0
            • tretanto
              tretanto @HorizonsWM last edited by

              Hi Austin,

              The server needs to process the .htacess file to resolve those redirects so if there are a lot of them it would take more time, and latency will be increased. Don't you agree?

              HorizonsWM 1 Reply Last reply Reply Quote 0
              • HorizonsWM
                HorizonsWM @tretanto last edited by

                Yes.  My brain has been in local SEO mode this week, and my first question should have been to ask about site size.  If the file is huge, then it's a huge file.  Huge and fast seldom go hand in hand.

                tretanto 1 Reply Last reply Reply Quote 2
                • tretanto
                  tretanto @HorizonsWM last edited by

                  I also have my issues dealing with the too many hats you need in the digital business 😉

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

                    It definitely can, I saw once a site that had hundreds of redirects and it was definitely slowing the site down as they had to run through all the redirects first on the server side to see where the user should be forwarded to.

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post
                    • Can you use multiple videos without sacrificing load times?
                      MattWatts
                      MattWatts
                      1
                      4
                      1.2k

                    • If the order of products on a page changes each time the page is loaded, does this have a negative effect on the SEO of those pages?
                      Kurt_Steinbrueck
                      Kurt_Steinbrueck
                      2
                      4
                      119

                    • Can I use a 410'd page again at a later time?
                      TomRayner
                      TomRayner
                      0
                      2
                      169

                    • Oh no googlebot can not access my robots.txt file
                      BistosAmerica
                      BistosAmerica
                      0
                      9
                      6.3k

                    • What can be the cause of my inner pages ranking higher than my home page?
                      deciph22
                      deciph22
                      0
                      16
                      5.0k

                    • Does page speed affect what pages are in the index?
                      Alex-Harford
                      Alex-Harford
                      0
                      10
                      835

                    • Can leaving up old web pages no longer accessible through my site navigation hurt my rankings?
                      matt-14567
                      matt-14567
                      0
                      3
                      552

                    • I need help on web page load time, its very bad!
                      Hyrule
                      Hyrule
                      0
                      9
                      1.0k

                    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