Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Find competitor keywords with NEW Keyword Gap
      Moz Pro

      Find competitor keywords with NEW Keyword Gap

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Intermediate & Advanced SEO
    4. WordPress Sub-directory for SEO

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    WordPress Sub-directory for SEO

    Intermediate & Advanced SEO
    wordpress subdirectory domain authority
    5
    7
    5242
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • HimalayanInstitute
      HimalayanInstitute Subscriber last edited by

      Hi There,

      I'm working on a WordPress site that includes a premium content blog with approx 900 posts.

      As part of the project, those 900 posts and other membership functionality will be moved from the main site to another site built specifically for content/membership.

      Ideally, we want the existing posts to remain on the root domain to avoid a loss in link juice/domain authority.

      We initially began setting up a WordPress Multisite using the sub-directory option. This allows for the main site to be at www.website.com and the secondary site to be at www.website.com/secondary.

      Unfortunately, the themes and plugins we need for the platform do not play nicely with WordPress Multisite, so we started seeking a new solution, and, discovered that a second instance of WordPress can be installed in a subdirectory on the server. This would give us the same subdirectory structure while bypassing WordPress Multisite and instead, having two separate single-site installs.

      Do you foresee any issues with this WordPress subdirectory install? Does Google care/know these are two separate WordPress installs and do we risk losing any link juice/domain authority?

      nmiletic 1 Reply Last reply Reply Quote 0
      • BlueprintMarketing
        BlueprintMarketing last edited by

        @himalayaninstitute said in WordPress Sub-directory for SEO:

        WordPress can be installed in a subdirectory

        I have done this a lot and I mean a lot what you want to do is set up a reverse proxy on your subdomain and this will allow you to not only bypass having to use multisite for subfolder but if you want to power it separately you can you do not have to it all. You should probably use your same server and power through Fastly our CloudFlare

        alt text
        alt text

        once you set this up it is super easy to keep it running in your entire site will be much faster as a result as well

        my response to someone else that needed a subfolder
        https://moz.com/community/q/topic/69528/using-a-reverse-proxy-and-301-redirect-to-appear-sub-domain-as-sub-directory-what-are-the-seo-risks

        please also look at it explained by these hosting companies is unbelievable easy to implement compared to how it looks and you can do so with Fastly or cloudflare in a matter of minutes

        • https://servebolt.com/help/article/cloudflare-workers-reverse-proxy/

        • https://kinsta.com/blog/reverse-proxy/

        • https://support.pagely.com/hc/en-us/articles/213148558-Reverse-Proxy-Setup

        • https://pantheon.io/product/advanced-global-cdn

        • https://wpengine.com/support/using-a-reverse-proxy-with-wp-engine/

        • https://thoughtbot.com/blog/host-your-blog-under-blog-on-your-www-domain

        • https://crate.io/blog/fastly_traffic_spike
          *https://support.fastly.com/hc/en-us/community/posts/4407427792397-Set-a-request-condition-to-redirect-URL

        • https://coda.io/@matt-varughese/guide-how-to-reverse-proxy-with-cloudflare-workers

        • https://www.cloudflare.com/learning/cdn/glossary/reverse-proxy/

        • https://gist.github.com/LimeCuda/18b88f7ad9cdf1dccb01b4a6bbe398a6
          I hope this was of help
          tom

        1 Reply Last reply Reply Quote 0
        • HimalayanInstitute
          HimalayanInstitute Subscriber @nmiletic last edited by

          @nmiletic The content section of the site requires a unique UI Design and other robust functionality, so having a separate theme/plugins in its own directory is going to be the way we go here. Thanks for your assistance!

          1 Reply Last reply Reply Quote 0
          • nmiletic
            nmiletic @HimalayanInstitute last edited by

            @himalayaninstitute Have you thought about adding a page and making all of this new content a subpage? Or changing your permalink structure to include a category in the URL? You can then add all of these posts under that category and have the URL show up as www.example.com/category/page-or-post-name

            HimalayanInstitute 1 Reply Last reply Reply Quote 0
            • HimalayanInstitute
              HimalayanInstitute Subscriber @Danny_Exxa last edited by

              @danny_exxa @amitydigital

              The website at the subdirectory will be an online learning platform with a blog, online courses, memberships, gated content, etc. The content currently lives on the main site, so, it's great that we can move it into the subdirectory without taking a hit from Google.

              Since these are fundamentally two separate websites, we're not concerned about needing to manage them independently.

              Thanks again for your input and advice, we greatly appreciate it!

              1 Reply Last reply Reply Quote 0
              • Danny_Exxa
                Danny_Exxa @amitydigital last edited by

                @amitydigital said in WordPress Sub-directory for SEO:

                Google will view it as one site so you shouldn't have any issues from that perspective. The Google bot is just looking at pages and won't know/care that the underlying CMS that is running some pages is a different install than other pages. The downside is you now have two websites to maintain, two themes, two sets of files, etc... That may result in a bit of a headache in the future.

                As @amitydigital put it, the issue with your approach would be repetitive tasks. You will not loose any DA nor PA (being that you implement a correct 301 redirection). What is going to be on the subdirectory?

                HimalayanInstitute 1 Reply Last reply Reply Quote 0
                • amitydigital
                  amitydigital last edited by

                  Google will view it as one site so you shouldn't have any issues from that perspective. The Google bot is just looking at pages and won't know/care that the underlying CMS that is running some pages is a different install than other pages. The downside is you now have two websites to maintain, two themes, two sets of files, etc... That may result in a bit of a headache in the future.

                  Danny_Exxa 1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • First post
                    Last post

                  Got a burning SEO question?

                  Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                  Start my free trial


                  Browse Questions

                  Explore more categories

                  • Moz Tools

                    Chat with the community about the Moz tools.

                  • SEO Tactics

                    Discuss the SEO process with fellow marketers

                  • Community

                    Discuss industry events, jobs, and news!

                  • Digital Marketing

                    Chat about tactics outside of SEO

                  • Research & Trends

                    Dive into research and trends in the search industry.

                  • Support

                    Connect on product support and feature requests.

                  • See all categories

                  Related Questions

                  • Skites2

                    Unsolved DA dropping after spam attack

                    moz pro da domain authority spam backlink attack spam backlinks

                    Hello. Our DA has dropped from 40 to 28. Why does moz take into account clear spam links. Not all links are created by website owners. Popular websites also see a lot of unknown spam linking. Any solutions to over-ride these issues? It seems very futile to see the DA dropping without any apparent reason or help towards actionable data.

                    Moz Pro | | Skites2
                    0
                  • mrezair

                    Unsolved Need Wordpress Front-end Plugin With Moz API

                    moz da moz api wordpress plugin

                    Hi Guys,
                    I'm looking for Moz SEO Front-end Wordpress Plugin To Audit My Visitors Website And Show Results in my site. Like This plugin for Moz DA Checker: https://www.724ws.net/domain-authority-checker/ It's not important to be a free plugin or Premium one. I need to increase leads and traffic by it. Any suggestion will be appreciated.

                    On-Page Optimization | | mrezair
                    0
                  • MizbaCMU

                    Why did my Domain Authority drop?

                    domain authority link building

                    I had an ok domain authority. We focused on building backlinks for our website and it shows that we received a significant number of backlinks. However, today, our DA fell significantly. I don't understand why that happened. Can someone please help me with this situation? Thank you.

                    Link Building | | MizbaCMU
                    1
                  • WayneM.

                    Meta name Author

                    wordpress technical seo meta data

                    Hello! I have a problem. I'm using Rank Math for WordPress. But I can’t configure a basic thing such as <meta name="author" content="" />. I had to insert this code manually using the hook. Does anyone know a normal way to do this markup? Example page: https://b-shoes.com/foot-shaped-shoes/ Thank you!

                    Technical SEO | | WayneM.
                    0
                  • Jane090987

                    My site DA did not increase even I built huge high-quality backlinks

                    domain authority link building link explorer

                    I have created a lot of high DA backlinks for my website for 3 months. But the DA of my site is still less than 40 and it has not changed for 2 months. Why does my site DA stop increasing as I build huge backlinks? How and when Moz will update the DA score? Are there any other ways to increase DA? My site: CouponBirds

                    Link Building | | Jane090987
                    0
                  • Saba.Elahi.M.

                    When creating a sub-domain, does that sub-domain automatically start with the DA of the main domain?

                    We have a website with a high DA and we are considering sub-folder or sub-domain. One of the great benefits of a sub-folder is that we know we get to keep the high DA, is this also the case for sub-domains? Also if you could provide any sources of information that specify this, I can't see to find anything!

                    Intermediate & Advanced SEO | | Saba.Elahi.M.
                    0
                  • MozammilStorat

                    SEO for multiple languages [Arabic]

                    Hello all, I am currently managing a Marketplace that comes in two different languages: English & Arabic. The English website is, fortunately, doing quite well in terms of SEO performances but, not the Arabic one. The website has two kinds of content: Static content: controlled by me. It includes menu items, navigation, static pages etc which is properly translated among the two languages User-uploaded content: It includes ads/news posted by the user which may not be translated to Arabic if they chose not to do it. Now if somebody goes to the Arabic website and check a news item that doesn't have an Arabic translation, it will show the English title. I am assuming, serving content in a different language that is specified in the hreflang is a straight no, right?

                    Intermediate & Advanced SEO | | MozammilStorat
                    0
                  • AndyMacLean

                    Subdomains and SEO - Should we redirect to subfolder?

                    A new client has mainsite.com and a large numer of city specific sub domains i.e. albany.mainsite.com. I think that these subdomains would actually work better as subfolders i.e mainsite.com/albany rather than albany.mainsite.com. The majority of links on the subdomains link to the main site anyway i.e. mainsite.com/contactus rather than albany.mainsite.com/contactus. Having mostly main domain links on a subdomain doesnt seem like clever link architecture to me and maybe even spammy. Im not overly familiar with redirecting subdomains to subfolders. If we go the route of 301'ing subdomains to subfolders any advice/warnings?

                    Intermediate & Advanced SEO | | AndyMacLean
                    0

                  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
                  Free SEO Tools
                  • Domain Authority Checker
                  • Link Explorer
                  • Keyword Explorer
                  • Competitive Research
                  • Brand Authority 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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy

                  Looks like your connection to Moz was lost, please wait while we try to reconnect.