Links in my website are indexed as separate pages
-
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?alinks
Now the same page is seen in google 2 times. How can i handle this please
-
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:
KumarIf you do not want the anchor text to be in italics:
KumarIf you're interested in learning more about HTML (it's really easy!) W3C Schools is a good place to start.
Happy coding!____
-
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
The particular page cannot be indexed by Google
Hello, Smart People!
On-Page Optimization | | Viktoriia1805
We need help solving the problem with Google indexing.
All pages of our website are crawled and indexed. All pages, including those mentioned, meet Google requirements and can be indexed. However, only this page is still not indexed.
Robots.txt is not blocking it.
We do not have a tag "nofollow"
We have it in the sitemap file.
We have internal links for this page from indexed pages.
We requested indexing many times, and it is still grey.
The page was established one year ago.
We are open to any suggestions or guidance you may have. What else can we do to expedite the indexing process?1 -
How can i check which inbound links to my site go to 404 pages?
I have external links coming into my site going to 404 pages, but i cant seem to find a way to search all broken links pointed at my website.
On-Page Optimization | | NickJPearse0 -
Issue to index AMP pages
Hello In googe search console i have about 500 pages indexed for my websites https://horaire-priere.be/ and https://horarios-oracion.es/ but only 20 pages are indexed as AMP. Butmy site is amp only. I can't understand why google indexed the page but not in amp mode? Thank you in advanced
On-Page Optimization | | Zakirou0 -
Amazon powered e-commerce website automatically generates page titles. Is there an alternative?
Greetings fellow Mozzers, So the product pages pick up the product name and convert it into the page title by default. The development company says this is an Amazon limitation and we can't set custom page titles for product pages. Is this the case? The official documentation from Amazon does not seem to suggest so. Would greatly appreciate any feedback from the community. Thanks, Rishad.
On-Page Optimization | | RishadShaikh0 -
Should I have content on my home page or links to my articles
Hi, i have asked this question a couple of times without any luck so i am hoping third time lucky. My site www.in2town.co.uk has dropped in the rankings for two of my important keywords, lifestyle magazine and lifestyle news, so i am just wondering if i have to much content on the page for google to understand what the page is about. i am thinking to just have the links on my page instead of the intro to the articles, for example another online magazine does this, http://www.femalefirst.co.uk/ Can anyone please let me know if i should keep the intro to the articles or if i should go with the links idea like femalefirst does to help google understand that we are a lifestyle magazine any advice would be great
On-Page Optimization | | ClaireH-1848860 -
Webpage with around 200+ inter links per page
HI, I have a client that I recently took on and I run a SEOmoz crawl on the website and a minor error was that .. 1. web pages have more than 200+ interlinks, reason for this is becuase the client offers a service to every place in the world and then has links to contact us/about us etc those kind of pages. is this something we need to strongly avoid? 2. The title tags are all over the suggested amount by 1/2 letters. - again is this really bad?
On-Page Optimization | | Prestige-SEO0 -
Internal Linking - Same page
Is there any benefit in internally linking back to the same page? I have no other relevant pages in the site I can link to so wondering if it's worthwhile to use anchor text to link back to the same page?
On-Page Optimization | | Will_Craig0 -
Should H1s be used in the logo? If they are and it is dynamic on each page to relate to the page content, is this detrimental to the site rather than having it in the page content?
On some sites, the H1 is contained within the logo and remains consistent throughout the site (i.e. the company name is in the of the logo). If the h1 in a logo is dynamic for each page (i.e. on the homepage it is company name - homepage) is this better or worse to have it changed out on the logo rather than having it in the page content?
On-Page Optimization | | CabbageTree0