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. Intermediate & Advanced SEO
    4. Is there a problems with putting encoding into the subdomain of a URL?

    Is there a problems with putting encoding into the subdomain of a URL?

    Intermediate & Advanced SEO
    9 4 130
    • 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.
    • RoxBrock
      RoxBrock last edited by

      We are looking at changing our URL structure for tracking various affiliates from:

      https://sub.domain.com/quote/?affiliate_id=xxx

      to  https://aff_xxx_affname.domain.com/quote/

      Both would allow us to track affiliates, but the second would allow us to use cookies to track. Does anyone know if this could possibly cause SEO concerns?

      Also, For the site we want to rank for, we will use a reverse proxy to change the URL from https://aff_xxx.maindomain.com/quote/ to https://www.maindomain.com/quote/

      would that cause any SEO issues.

      Thank you.

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

        Hi there.

        So, are those affiliates domains gonna actually exist and be empty and be redirected from with proxy or it's gonna be simple htaccess rewrite rule?

        In first case i can see lots of trouble with UX (do you like when after clicking on a link it takes you to a page, which refreshes several times before giving you end page result? - feels very spammy and unsettling, doesn't it?!)

        In second case - there won't be any problems.

        P.S. Why parameter URL structure doesn't let you use cookies? You can assign specific cookie based on parameter with simple php get. Or am i missing something?

        RoxBrock 1 Reply Last reply Reply Quote 0
        • RoxBrock
          RoxBrock @DmitriiK last edited by

          The sub-domain would not be redirected.  It would be forwarded on to an application server to parse the sub-domains and continue with displaying a page customized for that affiliate (HTML, CSS, and verbiage all can change).

          As for why the URL structure won't work, the site must throw an error if no affiliate ID is specified.  It cannot simply assume the one in the cookie is correct.

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

            All of those subdomains should have a robots.txt file that disallows the search engine from accessing them in the first place. In that sense, it doesn't matter which you choose for SEO. Or am I missing something?

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

              Hi RoxBrock! Did Everett and Dmitrii answer your question? If so, make sure to mark one or both of their responses "Good Answers." 🙂

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

                Isn't it good to let google see that our site does something as opposed to just being a glorified blog?

                Everett 1 Reply Last reply Reply Quote 0
                • Everett
                  Everett @RoxBrock last edited by

                  Not if that something has to do with affiliate landing pages.

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

                    I don't feel this question is understood and I'm not sure how to explain it any further so I would like to close it, without marking any answers good or bad. I'm not sure how I would close it so am posting this response. Thank you.

                    Everett 1 Reply Last reply Reply Quote 1
                    • Everett
                      Everett @RoxBrock last edited by

                      Hello Rox,

                      I hate the idea of you going away unsatisfied with unanswered questions. Let's try to work through this. Let me approach it from a different way, as I may have misunderstood what you were asking.

                      https://sub.domain.com/quote/?affiliate_id=xxx

                      https://aff_xxx_affname.domain.com/quote/

                      The first URL is the one I'd go with because it's easy to rel canonical back to the base URL and you're keeping it all on one subdomain. The second version creates a new subdomain for every affiliate, which I don't think would be a good thing.

                      Please let me know if I have understood your question this time.

                      Thanks!

                      1 Reply Last reply Reply Quote 1
                      • 1 / 1
                      • First post
                        Last post
                      • 301 Redirects to relative URLs not absolute a problem?
                        Alick300
                        Alick300
                        0
                        2
                        377

                      • Old product URLs still indexed and maybe causing problems?
                        mcampanaro
                        mcampanaro
                        0
                        5
                        87

                      • We 410'ed URLs to decrease URLs submitted and increase crawl rate, but dynamically generated sub URLs from pagination are showing as 404s. Should we 410 these sub URLs?
                        jeffchen
                        jeffchen
                        0
                        3
                        189

                      • Sitemap with homepage URL repeated several times - it is a problem?
                        McTaggart
                        McTaggart
                        0
                        3
                        331

                      • Problem: Magento prioritises product URL's without categories?
                        Everett
                        Everett
                        0
                        9
                        1.9k

                      • Is it a problem if a URL has too many backslashes in its address?
                        SEO_Promenade
                        SEO_Promenade
                        0
                        5
                        201

                      • Brackets vs Encoded URLs: The "Same" in Google's eyes, or dup content?
                        mirabile
                        mirabile
                        0
                        4
                        1.6k

                      • Is using dots in URL path really a problem?
                        Adam_Cochran
                        Adam_Cochran
                        0
                        4
                        12.5k

                      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