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. Intermediate & Advanced SEO
    4. Redirects in .htaccess file

    Redirects in .htaccess file

    Intermediate & Advanced SEO
    3 2 86
    • 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.
    • Rebeca1
      Rebeca1 last edited by

      I am using yoast seo plugin for wordpress. I have done several link changes and placed approximately 80-100 301 redirect into .htaccsses file.

      Is this good practice? Do they have to be there forever? Is it not slowing down site? Or should this be done in different way?

      Thank you very much

      Iris

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

        Hi Iris

        I don't think you have anything to worry about here.  This is best practice and having 100 redirect lines in there won't make an impact on site load speed.

        It goes without saying that the more lines you add, the larger the file becomes and the larger the file is, the longer it takes to process - but for the .htaccess file I've only ever seen this become an issue when you're looking at 10,000s of redirects.  When you get to that stage, its more of a problem with how you're entering the redirects (using individual URLs rather than redirecting whole subdirectories, for example) rather than it not being good practice.

        So, in short, you look to be fine to me!

        Rebeca1 1 Reply Last reply Reply Quote 1
        • Rebeca1
          Rebeca1 @TomRayner last edited by

          Thank you so much for this Tom! You are awesome! Thank you, now I am not worried:-)

          Have  good day!

          Thank you very much Iris

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • 301 Redirects for Multiple Language Sites in htaccess File
            GFD_Chris
            GFD_Chris
            0
            2
            120

          • Mass 301 redirect in htaccess
            moon-boots
            moon-boots
            0
            4
            100

          • Hacked website - Dealing with 301 redirects and a large .htaccess file
            ChrisAshton
            ChrisAshton
            0
            6
            374

          • Handling Multiple Domain 301 Redirects on Single htaccess file
            Andy.Drinkwater
            Andy.Drinkwater
            0
            2
            291

          • How to redirect an url in .htaccess when "redirect 301" doesnt work
            WilliamKammer
            WilliamKammer
            0
            5
            173

          • .htaccess files
            JamesFx
            JamesFx
            0
            4
            294

          • 301 redirect via htaccess question
            Audiohype
            Audiohype
            0
            4
            404

          • I need help with htaccess redirect
            RyanKent
            RyanKent
            0
            4
            1.1k

          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