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. 301 Redirects in subfolders

    301 Redirects in subfolders

    Technical SEO Issues
    11 5 552
    • 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.
    • Therealmattyd
      Therealmattyd last edited by

      Hi, we're making our site into a static site but I would like to transfer the Google juice. Most of the links and database exist on subfolders though. Could I simply do 301 redirects on the subfolders and retain the value or does it have to be on the full domain?

      1 Reply Last reply Reply Quote 0
      • David-Kley
        David-Kley last edited by

        As long as the url is accessible, it doesnt matter. You can redirect from a subfolder, or using root domain.

        One thing to remember, make sure you redirect both www, and non-www versions. Are you using cpanel? It makes this a super easy process. If not, let me know, and I can supply you with some htaccess rules to get you started.

        *Keep in mind, all link juice is not always transferred. Generally most will be passed through, but I just wanted to make you aware.

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

          You can 301 any page to anywhere, that not a problem, but before you waste any time, only 301 the pages that have external links, there is no value in 301'ing pages unless they do.

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

            Alan, there is no value in redirecting pages without external links?

            I am in the process of implementing a massive 301 redirect project as we are changing the URL structure of our site. Our site has been indexed fully by Google for quite some time but most pages do not have external links pointing to them. So if someone searches a KW that triggers a deep linked page, why would I not redirect that page to its new URL?

            AlanMosley 1 Reply Last reply Reply Quote 0
            • AlanMosley
              AlanMosley @Vacatia_SEO last edited by

              Because google will drop that url and crawl the new one by itself.

              If all you are doing is changing domain then one 301 will do all anyhow.

              but if you are 301'ing page by page, then just do the ones that have external links.

              Vacatia_SEO 1 Reply Last reply Reply Quote 0
              • JaneCopland
                JaneCopland last edited by

                Hi Matt,

                If you 301 one URL to another, the majority of the metrics previously afforded to the old URL will be transferred to the new URL. Various evidence, some of it quite anecdotal, says that not all the authority passes from the old to the new, but it's certainly the best option you have if you want to change URLs.

                If you are moving to a new domain, you can write a rule in your .htaccess file (if using an Apache server) or in your control panel (if using an IIS server) that transfers every URL to its new location. Even if URLs have no external links, this will simply direct any traffic to the old URLs to their new locations.

                1 Reply Last reply Reply Quote 1
                • Vacatia_SEO
                  Vacatia_SEO @AlanMosley last edited by

                  what if someone bookmarked a page that you changed the URL for? That page might not have any links but it can still receive traffic.

                  It is my recommendation that if one is doing a massive redirect that all pages should have a rule written for it. Why risk a 404?

                  AlanMosley 1 Reply Last reply Reply Quote 0
                  • AlanMosley
                    AlanMosley @Vacatia_SEO last edited by

                    In this very rare case, they would get a 404, with a link to the home page.

                    to 301 every page in case it has a bookmark is a waste of effort

                    JaneCopland 1 Reply Last reply Reply Quote 0
                    • JaneCopland
                      JaneCopland @AlanMosley last edited by

                      Honestly, doing site-wide redirects can be very simple if done correctly in .htaccess, avoiding anyone (bot or browser) encountering 404s. Redirecting properly avoids a 404 bloat in Webmaster Tools, allowing the webmaster to identify "real" 404s and fix them as well. I'd go with redirecting anything you plan to move.

                      Vacatia_SEO 1 Reply Last reply Reply Quote 0
                      • Vacatia_SEO
                        Vacatia_SEO @JaneCopland last edited by

                        I'm with you Jane. It's not that much effort and it avoids any confusion or 404s.

                        AlanMosley 1 Reply Last reply Reply Quote 0
                        • AlanMosley
                          AlanMosley @Vacatia_SEO last edited by

                          As I said before, if you are changing just the domain, then you can do the whole site in one redirect, but if you have a different page structure and thousands of pages, it would be a waste of time to do any pages that does not have a external link.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          • To 301 redirect or not...
                            Immanuel
                            Immanuel
                            0
                            7
                            147

                          • 301 redirect after penalty to domain which currently 301 to the penalised domain
                            evolvingSEO
                            evolvingSEO
                            0
                            4
                            305

                          • 301 redirects reverting to 302 redirects
                            Devanur-Rafi
                            Devanur-Rafi
                            0
                            6
                            532

                          • 301 redirect
                            Mark.RedGiant
                            Mark.RedGiant
                            0
                            3
                            322

                          • 301 redirects
                            vibelingo
                            vibelingo
                            0
                            5
                            255

                          • To 301 redirect or not to 301 redirect? duplicate content problem www.domain.com and www.domain.com/en/
                            Chris-CA
                            Chris-CA
                            0
                            5
                            456

                          • Delete 301 redirected pages from server after redirect is in place?
                            RuthBurrReedy
                            RuthBurrReedy
                            0
                            5
                            4.0k

                          • Google Webmaster redirect vs 301 redirect
                            lavellester
                            lavellester
                            0
                            2
                            493

                          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