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.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      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
    5243
    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

                  • 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
                  • 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
                  • startrek123

                    Solved Link tracking list is not working

                    link tracking list domain authority link explorer

                    Hi there
                    Ive been using link tracking list to add links for my website for 2 years now and it always worked the same Way - - > up to 1 week and the links were added to website's portfolio. The problem occurs since 2 months and links placed in link tracking list simply arent being added to website's portfolio. Are there any updates going on in background? Anyone knows something about this issue?

                    Product Support | | startrek123
                    0
                  • dtesmino

                    View domain authority and spam score history

                    domain authority metrics historical data spam score mozscape

                    Hello,
                    Is it possible to get historical data of DA/SS through link explorer? what about the mozscape api?
                    i have seen the "Metrics over time" page, but it only shows 1 year of data.
                    There is a website which provides DA history for 2+ years but i'd like to use moz or it's api directly
                    Thanks in advance

                    Link Explorer | | dtesmino
                    2
                  • Daaveey

                    Default Wordpress 301 Redirects of JS and CSS files. Bad for SEO & How to Fix?

                    Hi there: We are developers with some digital marketing expertise, but a current issue has us perplexed. An outside SEO firm has asked us to clean up a large number of 301 redirects. Most of these are 'default' Wordpress behavior that relate to calling the latest version of a JS or CSS file. For instance, a JS file is called with this: https://websitexyz.com/wp-includes/js/wp-embed.min.js?ver=4.9.1 but ultimately redirects to this: https://websitexyz.com/wp-includes/js/wp-embed.min.js. We are being asked to prevent the redirect from happening by, presumably, calling the ultimate file to begin with. The issue is that, as far as we know, there's no easy way to alter WP behavior to call the ultimate file to begin with. Does anyone have any thoughts on this? Thanks.

                    Intermediate & Advanced SEO | | Daaveey
                    0
                  • Thos003

                    Server Migration, Does it effect SEO?

                    About to go through a server migration. My intitial thought is that a change in servers shouldn't really change my rankings. But I've heard rumors... Can a server migration change rankings? Why?

                    Intermediate & Advanced SEO | | Thos003
                    0
                  • wellbo

                    Iframe redirect bad for SEO?

                    Hi, I have a website (http://www.blowingminds.de) wich I put a spreadshirt shop into via iframe. The thing is I am not sure on how the iframe effects my SEO? Can I just optimise the main domain for search? Well I want the spreadshirt shop to be found under the domain name (www.blowingminds.de) but the only real way to do it is by implementing an iframe because each spreadshirt shop has its own subdomain eg.: blowingminds.spreadshirt.de but the only real way to do it is via iframe, as they do not offer a complete domain redirect. (Or have I overseen some other way?) I hope you guys can help me on this one 🙂 Thanks in advance. Malte

                    Intermediate & Advanced SEO | | wellbo
                    1
                  • IKT

                    SEO from Godaddy How Good is it?

                    http://www.godaddy.com/search-engine/seo-services.aspx?ci=44163 it said "Includes Standard Search Engine Visibility to Improve Search Rankings" it begs for question... Search Engine Visibility??? Improve SERP?!?!!? is it really that good? O.o; or have i successfully been eaten my promotional messages? Can anyone with experience with them share some information with me ? 🙂 (The price tag is mighty interesting)

                    Intermediate & Advanced SEO | | IKT
                    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.