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. Using rel cannonical to host a blog as a path on our e-commerce website

    Using rel cannonical to host a blog as a path on our e-commerce website

    Intermediate & Advanced SEO
    5 3 131
    • 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.
    • HireSpace
      HireSpace last edited by

      There has been recent suggestion (from Rand) that hosting your blog as a folder rather than a subdomain is much better from an SEO point of view.

      Unfortunately, our blog is hosted on a subdomain with a different technology stack to the main e-commerce site. We are finding it quite tricky to migrate to a folder given the different technologies. Is the following a suitable solution?

      - 301 redirect from mysite.com/blog/cool-blog-post to blog.mysite.com/cool-blog-post

      - And then put mysite.com/blog/cool-blog-post" /> on blog.mysite.com/cool-blog-post

      Would be great to have your thoughts on this guys - I can't figure out if it will work or be an SEO fail.

      1 Reply Last reply Reply Quote 0
      • Linda-Vassily
        Linda-Vassily last edited by

        We are going to do a very similar changeover in the near future and that is how we plan to go about it. I have been looking into it and I don't see any major drawbacks. (But if anyone else has other information--I too would love to hear about it before starting this...)

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

          I don't think that will work. The reason being if I am understanding correctly, is that the canonical url will never be accessible. I don't know all of the specifics about what Google does on an internal level (like most SEO people) but I don't think it would fly just for the fact that the canonical is never able to be accessed.

          Are redirections and htaccess issues the reason you cannot move over to using a sub directory?

          1 Reply Last reply Reply Quote 0
          • Linda-Vassily
            Linda-Vassily last edited by

            The original question was about moving a blog from a subdomain to a subfolder (hosting your blog as a folder rather than a subdomain) and using the newly created subfolder as the canonical, which would be accessible.

            I do see that in the example the question refers to a 301 from the subfolder to the subdomain, but I think that was just a little mix-up in writing up the example, and it should say that the 301 would be from the old subdomain to the new subfolder. Otherwise yes, that would be circular.

            There is also the question of whether you'd need a canonical as well as a 301 (since that would be redundant) but I would probably do it anyway as a sort of belts-and suspenders approach, in case something went wrong. (But I worry too much.)

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

              LindaLV, we were actually going to 301 from the path to the subdomain (no content at the path). Could you explain a bit more about how subdomain-to-path 301-redirects would work? Would they not just end up somewhere where there is no content?

              Lesley, we use IIS so not htaccess issues as such but, yes, we were having problems in that area.

              Thank you both!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • The client wants to close the current e-commerce website and open a new one.
                meliegree
                meliegree
                0
                7
                84

              • Lazy Loading of products on an E-Commerce Website - Options Needed
                Tom-Anthony
                Tom-Anthony
                0
                4
                1.5k

              • We're currently not using schemas on our website. How important is it? And are websites across the globe using it?
                danatanseo
                danatanseo
                0
                5
                161

              • How use Rel="canonical" for our Website
                Dr-Pete
                Dr-Pete
                0
                6
                159

              • E-commerce Adding New Content - Blog vs New Page
                SammyT
                SammyT
                0
                5
                515

              • E- commerce websites - Best method for earning links ?
                KevinBudzynski
                KevinBudzynski
                0
                2
                327

              • Should we Use rel=canonical in ccTLDs websites
                mrdavidingram
                mrdavidingram
                0
                4
                716

              • E Commerce Blogging
                JaredBroker
                JaredBroker
                0
                3
                441

              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