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. Technical question about site structure using a CMS, redirects, and canonical tag

    Technical question about site structure using a CMS, redirects, and canonical tag

    Technical SEO Issues
    4 3 373
    • 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.
    • CHutchins
      CHutchins last edited by

      I have a couple of sites using a particular CMS that creates all of the pages under a content folder, including the home page.  So the url is www.example.com/content/default.asp. There is a default.asp in the root directory that redirects to the default page in the content folder using a response.redirect statement and it’s considered a 302 redirect. So all incoming urls, i.e. www.example.com and example.com and www.example.com/ will go to the default.asp which then redirects to www.example.com/ content/default.asp. How does this affect SEO? Should the redirect be a 301? And whether it’s a 301 or a 302, can we have a rel=canonical tag on the page that that is rel=www.example.com? Or does that create some sort of loop? I’ve inherited several sites that use this CMS and need to figure out the best way to handle it.

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

        That's not a great mechanism for a CMS even before you consider SEO!

        Do you understand ASP sufficiently to move the default.asp to the root directory and then apply the rel=canonical?

        If the actual homepage is /content/default.asp then there are two things you should probably consider

        1. Make the redirect from root to /content/default.asp a 301 as it is permanently at that address, not temporarily
        2. Any links you get in need to point to /content/default.asp for max effect.

        (2) is really tough as it's messy for webmasters  and doesn't do your website branding any good. So, to be honest I would be looking at moving that default page to root, if the choice were mine.

        Open to other opinions.

        CHutchins 1 Reply Last reply Reply Quote 1
        • Dr-Pete
          Dr-Pete last edited by

          I do find things get weird with Google when you're home page isn't at the root, and ASP seems to often do this.

          Unfortunately, if you 301-redirect to the deeper level, you shouldn't canonical back up to the root - it's a mixed signal. I'm with Martin - if you can't change it, you should probably 301-redirect to "/content/default.asp" and then use that as the canonical version as well (internal links, inbound links where possible, etc.). It's not ideal, but it may be the least worst solution.

          1 Reply Last reply Reply Quote 0
          • CHutchins
            CHutchins @Nobody1560986989723 last edited by

            Thanks. It confirms what I was thinking. I have asked our developers if the page can be moved to the root, but am getting a lot of pushback. So if it can't be done, I will make the canonical page the content/default.asp.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Duplicate content: using the robots meta tag in conjunction with the canonical tag?
              Keszi
              Keszi
              0
              2
              321

            • Should I use canonical tag in these cases?
              LoganRay
              LoganRay
              0
              2
              55

            • URL structuring / redirect question
              KurtWSEO
              KurtWSEO
              0
              5
              74

            • Canonical Tag when using Ajax and PhantomJS
              Hutch42
              Hutch42
              0
              2
              748

            • 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

            • A technical 301 Redirect Question
              tmtoseo
              tmtoseo
              0
              2
              890

            • Site Structure question
              KeriMorgret
              KeriMorgret
              0
              4
              946

            • Using the Canonical Tag
              andresgmontero
              andresgmontero
              0
              3
              1.2k

            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