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
-
How can I check spam score and non indexed links
Hi I am working on a project in which I have a local services website <a target="_self">www.thepcrrg.com</a> I want to be sure its links are getting indexed or not. Please help me.
On-Page Optimization | | Jioiebytt2 -
There is a copy of our website that is ranking. How can I let Google know our website is the authentic site?
I just found another copy of my old website and have no way to take it down. Unfortunately, it's ranking so he didn't place it as a nofollow. (My boss hired someone to redevelop our website before I came on board and never finished the project). So, could this be hurting us? I tried to look to see if we were being penalized and couldn't find that we were. Also, ever since we migrated to a new domain name, our ranking is tumbling. I've redirected properly and tested to make sure they're resolving correctly and they are. I have no idea what is going on. We've virtually lost all ranking. Any help would be much appreciated.
On-Page Optimization | | npuffer790 -
For an e-commerce product category page that has several funnels to specific products, for SEO purposes does it matter whether the category page's overview content is above or below those funnels?
We manage an e-commerce site. On a category page, there are several funnels to specific products. We moved the category overview content below those funnels to make it easier for users to quickly get to products. Seems more user friendly to me, but could that move of the main content to the lower part of the page be a negative ranking factor?
On-Page Optimization | | PKI_Niles0 -
Page Rank Lost After Website Transfer
Hello, I recently transferred a website from Ruby on Rails to Wordpress in order to help with the site's responsiveness. I kept all of the URLs the exact same, but when I transferred it only the homepage and one other page kept their page ranks, all of the others have lost theirs completely. Almost every page on the site was at least a PR 2, and now their not ranked, and not ranking in the top of search engines like they were before. I am not quite sure what might have caused this, like I said, I kept the URLs all the exact same and its strange that 2 pages were not effected. I crawled the site with Screaming From and all of the pages that lost their page rank have a status as "Moved Permanently". They are the exact same URL, but they are listed without www. in front, could this have something to do with it? The website is www.goenergylink.com, and you will see that the homepage and "Residential" page still have their page rank, but none of the others do. Any help would be GREATLY appreciated! Thanks
On-Page Optimization | | mcmckenna10 -
Internal Links
I have a page that I am working to rank. Open Site Explorer shows that I have 69 internal links and a competitive site (ranked #4) has 822 internal links. The page I am looking to rank is on my main navigation menu so it should have an incoming link from every page on my site. My site is 6 years old and has 497 pages indexed according to Google Webmaster Tools. What do I need to do to improve the number of internal links that are being recognized?
On-Page Optimization | | CoachingToolbox0 -
Do you handle website on-page/site optimization?
Our website is gaining traction and we are looking for an individual who is an expert at examining websites to see if the structure and on-page optimization is being optimized, and what. Please contact me if you are interested. Thank you.
On-Page Optimization | | balboafinance0 -
Google is indexing spam pages from my site. What is the most effective way to get ride of the search results? Pages are deleted now but should I do something more?
A long time ago I created a forum (Invision Power Board) and it got full of spam. Massive amounts! /forum/ I've now deleted the forum but the spam pages are still indexed on Google. Can I do something else to hurry up the process to get ride of them?
On-Page Optimization | | ocarlsson0 -
Is anchor text link juice passed in internal links?
Let's say I have www.bobswidgets.com. If I have "widgets for sale in tuscon arizona' be the anchor text on an internal link on www.bobswidgets.com/page1 which goes to www.bobswidgets.com/page2 - does the value of the anchor text (widgets for sale in tuscon arizona) get passed internally? External links pass the value of the anchor text but do internal links?
On-Page Optimization | | qlkasdjfw0