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. Can I put the tag in the MasterPage of my ASP.NET website or does this need to be specific to each page?

    Can I put the tag in the MasterPage of my ASP.NET website or does this need to be specific to each page?

    Technical SEO Issues
    5 2 3.1k
    • 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.
    • TisBest
      TisBest last edited by

      Hi Moz Community,

      I am a designer/junior SEO'er and have been working with our web developer to setup SEO oriented redirects and the rel canonical tag on our ASP.NET page running MasterPages - www.tisbest.org.  I know setting up an incorrect canonical tag can be devastating so I'm hoping for some guidance.

      Can we put the

      <title> </span>Charity Gift Cards | Donation Gift Ideas | TisBest Philanthropy</p> <p style="color: #5e5e5e; font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"><span style="color: #5e5e5e;"> </span></p> <p style="color: #5e5e5e; font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"><span style="color: #5e5e5e;"></title>

      Thanks!  Chad

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

        Chad

        I just checked your website and no, it's incorrect. All pages of your website have the canonical set to the homepage, which is like telling Google to 301 redirect all your pages to the homepage. I would recommend to remove it/fix it right away.

        TisBest 1 Reply Last reply Reply Quote 1
        • TisBest
          TisBest @NakulGoyal last edited by

          Hi Nakul-thanks for the helpful feedback! I've notified our developer. Can you give advice/guidance on how we should set it up? We are trying to set www.tisbest.org as the canonical to address duplicate content page errors happening with our default.aspx page and also our autodetectcookiesupport setup. Thoughts? Thanks! Chad

          NakulGoyal TisBest 2 Replies Last reply Reply Quote 0
          • NakulGoyal
            NakulGoyal @TisBest last edited by

            Chad

            It can't be added in the template file, hard-coded for it to be the same tag on every page. Looks like this piece of code was added in the header template file.

            For homepage, default.aspx this code is fine:

            http://www.tisbest.org" />

            However, on other pages, like http://www.tisbest.org/buy-charity-gift-cards.aspx, the canonical should be rel="canonical" href="http://www.tisbest.org/buy-charity-gift-cards.aspx" />

            I hope this helps.

            1 Reply Last reply Reply Quote 1
            • TisBest
              TisBest @TisBest last edited by

              Nakul

              Thank you for your help - I am very grateful for your guidance.  Our developer is working on removing this code.  Best wishes, Chad

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • I am trying to generate GEO meta tag for my website where on one page there are multiple locations My question is, Can I add GEO tagging for every address?
                0
                1
                96

              • Getting high priority issue for our xxx.com and xxx.com/home as duplicate pages and duplicate page titles can't seem to find anything that needs to be corrected, what might I be missing?
                Todd_McDonald
                Todd_McDonald
                0
                4
                4.0k

              • Duplicate Page due to category and tags - Wordpress Website Issue
                MikeRoberts
                MikeRoberts
                0
                2
                233

              • Should I Parent/Child my Website Pages (need help with terminology too)
                mememax
                mememax
                0
                2
                156

              • After I 301 redirect duplicate pages to my rel=canonical page, do I need to add any tags or code to the non canonical pages?
                Mike.Goracke
                Mike.Goracke
                0
                2
                125

              • How can I see the SEO of a URL? I need to know the progress of a specific landing-page of my web. Not a keyword, an url please. Thanks.
                BlueprintMarketing
                BlueprintMarketing
                0
                2
                147

              • Website Page Structuring and URL re writing - need helpful resources
                RyanKent
                RyanKent
                0
                7
                887

              • How similar do pages need to be in order to utilize the canonical tag
                cbarron
                cbarron
                0
                9
                937

              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