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. On-Page / Site Optimization
    4. Links in my website are indexed as separate pages

    Links in my website are indexed as separate pages

    On-Page / Site Optimization
    4 3 96
    • 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.
    • jomin74
      jomin74 last edited by

      Hi All,

      We have pages which has names of people which we have created a Alink when clicked it goes to the related persons name.

      Now Google has indexed it as a seperate page example

      www.xyz.com/person/name

      www.xyz.com/person/name?alinks

      Now the same page is seen in google 2 times. How can i handle this please

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

        It's probably an error in the code - best way to solve it is to check the code where the link originates & correct it.

        Alternative would be to put a canonical on www.xyz.com/person/name pointing to itself (www.xyz.com/person/name) - normally the www.xyz.com/person/name?alinks should then have the canonical as well pointing to www.xyz.com/person/name

        Without have the site itself it's difficult to tell which the error is.

        rgds,

        Dirk

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

          Thanks

          Kumar

          Would a line as this be ok?

          taryn_s 1 Reply Last reply Reply Quote 0
          • taryn_s
            taryn_s @jomin74 last edited by

            Hi Riccardo,

            There are couple of errors with your code there. Firstly, the noindex attribute is used at a page level, not link level. If you want to noindex a page you should use the meta robots tag on the page itself. There is more information on the meta robots tag here. The nofollow attribute however, can be used at link level. You're essentially telling the search engines not to crawl this link.

            Secondly, the attribute isn't wrapped around any text so it's wasted code having it there. If you want your anchor text, 'Kumar' to be in italics, you should close the tag after the word. Also, replacing the tag with an tag (short for emphasis) is considered good practice.

            ____Finally, try not to use spaces in your anchor text. Modifying your code in this way will give you this:

            If you want the anchor text to be in italics:
            Kumar

            If you do not want the anchor text to be in italics:
            Kumar

            If you're interested in learning more about HTML (it's really easy!) W3C Schools is a good place to start.

            Happy coding!____

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • Why my website some pages is not index in google ?
              Andy.Drinkwater
              Andy.Drinkwater
              0
              5
              207

            • Internal links are not indexed of the website
              renukishor1
              renukishor1
              0
              6
              139

            • Indexing pages after de-indexing them
              MohammadSabbagh
              MohammadSabbagh
              0
              4
              96

            • Too many page links warning... but each link has canonical back to main page? Is my page OK?
              Chris.Menke
              Chris.Menke
              0
              2
              139

            • Google Indexed = 35, 445 pages, Bing Indexed = 243 pages... Why?
              zDucketz
              zDucketz
              0
              7
              479

            • Too Many On-Page Links on a Directory type website?
              RyanMackie
              RyanMackie
              0
              3
              586

            • Too many On-Page Links on a WP based Website
              TaitLarson
              TaitLarson
              0
              7
              996

            • SEO Value of Within-Page Links vs. Separate Pages
              CPU
              CPU
              0
              3
              962

            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