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. Does using a reverse proxy to make a subdomain appear as a subdirectory affect SEO?

    Does using a reverse proxy to make a subdomain appear as a subdirectory affect SEO?

    Technical SEO Issues
    5 3 1.0k
    • 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.
    • rodelmo4
      rodelmo4 last edited by

      Using a reverse proxy only makes it appear that a subdomain is really a subfolder. However, links in the end remain the same. Does this have any negative (or positive) impact on SEO? Does it make it difficult from the blog's (subdomain's) sitemap or robots.txt file to be properly read by search engines?

      1 Reply Last reply Reply Quote 1
      • max.favilli
        max.favilli last edited by

        You can set it up to have the subdomain completely hidden behind the reverse proxy, if you do so, google won't notice any difference. If the subdomain is in the same local network you can just disconnect it from the internet, if you can't you can still set the subdomain robots.txt to reject crawlers. Just be carefull to do not serve the robots txt under the subfolder.

        rodelmo4 2 Replies Last reply Reply Quote 0
        • rodelmo4
          rodelmo4 @max.favilli last edited by

          Awesome! Thank you!

          1 Reply Last reply Reply Quote 0
          • rodelmo4
            rodelmo4 @max.favilli last edited by

            Also, quick question: when you say to be careful not to serve the robots file under the subfolder, should we delete it then? The subdomain is actually a wordpress site that serves as a blog, and so it's got its own robots file. So, right now, both robots files (main site + wordpress) are coexisting.

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

              Hi,

              I have similar query for the specifc case. This also involves tracking on Google Analytics and Search Console Setup. Could you have a look at this question and share your thoughts? https://moz.com/community/q/using-a-reverse-proxy-and-301-redirect-to-appear-sub-domain-as-sub-directory-what-are-the-seo-risks

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Does the use of a unicode character high up on page adversely affect SEO?
                Martijn_Scheijbeler
                Martijn_Scheijbeler
                1
                3
                531

              • How to stop UTM affecting SEO
                Eric_S
                Eric_S
                0
                3
                526

              • What to do about this subdomain for SEO?
                kelseyc
                kelseyc
                0
                3
                85

              • Subdomains or Subdirectory for multisite SEO structure?
                DirkC
                DirkC
                1
                3
                224

              • To Subdomain or Not Subdomain?
                AlanMosley
                AlanMosley
                0
                8
                144

              • Will it make any difference to SEO on an ecommerce site if they use their SSL certificate (https) across every page
                matbennett
                matbennett
                1
                3
                203

              • SEO credit for subdomain blogs?
                irvingw
                irvingw
                0
                2
                284

              • Ideally should a 301 or 302 redirect be used from https://www.site.com to http://www.site.com? Is there a valid reason to use a 302 in this situation or would using a 301 have any negative impact on seo?
                Unity
                Unity
                0
                2
                317

              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