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. Apache Rewrite Verse Redirect

    Apache Rewrite Verse Redirect

    Technical SEO Issues
    4 3 255
    • 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.
    • SuperMikeLewis
      SuperMikeLewis last edited by

      I put in a request with my IT team to implement some 301 redirects. We recently launched a major redesign and there multiple version of some pages with different URLs.

      They asked why they could not do Apache Rewrites, so it was not necessary to return an HTTP header.

      I know Google's Webmasters best practices is to use 301 redirects. I am not familiar with the technical aspects of Apache et al.

      Are there advantages to using a rewrite? Thanks

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

        A rewrite passes no link juice from the old page to the new. Whereas a 301 does. In .htaccess the code is simple:

        Redirect 301 /oldpage.html /newpathto/newpage.html.

        Cheers!

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

          It depends on the type of Rewrite Rule. If you have [R=301,L] at the end of the rule, it does the job and passes link juice.

          coneh34d 1 Reply Last reply Reply Quote 0
          • coneh34d
            coneh34d @Gamer07 last edited by

            This is true. The rewrites using [R=301,L] are great when it is necessary to use a regex to perform the 301's with fewer entries in your .htaccess

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • When to use mod rewrite / canonical / 301 redirect
              Matt-Williamson
              Matt-Williamson
              0
              2
              149

            • Redirect a 301 Redirect
              RedCaffeine
              RedCaffeine
              0
              5
              98

            • Redirection plugin: wordpress vs apache module?
              Justin1
              Justin1
              0
              6
              1.7k

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

            • Isapi rewrite syntax for partial link redirects
              dreadmichael
              dreadmichael
              0
              5
              478

            • Redirect or not to redirect
              AlanMosley
              AlanMosley
              0
              7
              458

            • Difference between URL Rewrites and 301 Redirects for Rankings
              Gaveltek-173238
              Gaveltek-173238
              0
              4
              570

            • Redirect
              petrakraft
              petrakraft
              0
              9
              958

            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