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
-
Is it better to try and boost an old page that ranks on page #5 or create a better new page
Hello Everyone, We have been looking into our placements recently and see that one of our blog posts shows on page #5 for a popular keyword phrase with a lot of search volume. Lets say the keyword is "couples fitness ideas" We show on page 5 for a post /couples-fitness-ideas-19-tips-and-expert-advice/ We want to try and get on the first page for that phrase and wanted to know if it is better if we did one of the following: 1. Create a new page with over 100 ideas with a few more thousands of words. with a new url (thinking /couples-fitness-ideas) 2. Create a new page with a new url (thinking /couples-fitness-ideas) with the same content as the currently ranking post. We would want to do this for more freedom with layout and design of the page rather than our current blog post template. Add more content, let's say 100 more ideas. Then forward the old URL to the new one with a 301 redirect. 3. Add more content to the existing post without changing the layout and change the URL. Look forward to your thoughts
On-Page Optimization | | MobileCause0 -
On Brand Queries Google does not shows my home page first instead of it shows internal pages.
Also on my brand query it doesn't shows sitelinks. What may be the reason?
On-Page Optimization | | vivekrathore0 -
Internal and Link Juice Analysis - Too Many Links Error
Howdy! I have an analysis question related to internal links/link juice. Here is the general link set up of our site: 1. All Site Pages (Including Home Page): We have drop down "mega" menus in the header of everypage linking to various sub-categories on the site. So, because of this, in our header, we have a few hundred links to various pages on our site and these show up on every page of the site. 2. Product Pages: Header pages as mentioned above, but on top of that, we list out the keywords for that particular product and each keyword is linked back to our search results pages for that particular keyword. In General Moz is telling us we are having between 200-300 links on each product page. Currently, our Search Results pages are ranking higher and showing up in search more than our actual product pages. So, based on the above info, here are some thoughts: 1. Should we ajax in the Header links so that they aren't showing up for the search engines? Or, should we ajax them in only on all pages that are not the Home Page? 2. Should we get rid of the keyword links back to the Search Results pages that are on the product pages? What effect would these changes "actually" have? Does this just improve crawling? Or are there other positive results that would come of changes like these? We have hundreds of thousands of products, so if we were to make changes like these, could we experience negative results? Thanks for your help! Craig
On-Page Optimization | | TheCraig0 -
Too many links on product pages
Hello, What do you do if there are too many links on product pages? With 18 products per page, there's 2 links per product for 120 links on many pages. There's 50 products in many categories, categories are at most 1 click from the home page. Should we use pagination or not? Thanks
On-Page Optimization | | BobGW0 -
Too Many On-Page Links error
Hello, I am new to this. The crawl of y website reveals that "Too Many On-Page Links" were found on many pages of the website. However, when I check those pages, not more than 5 links are found- I have not included links outside of the post (sidebar/comments/related posts - are these counted in the crawl report ?). I do use SEO SmartLinks Plugin where in some keywords point to Wordpress Categories but am not sure whether that could be the problem at all. Can someone guide what the issue could be and how to debug ?
On-Page Optimization | | sradhey0 -
Moving Top rank Page urls off my Home page and nesting them on one page? Good idea?
I am basically trying to cut down the amount of links on my home page to make it less eye boggling and move stuff around. So i have of my Urls on my home page that lead to pages that rank very well within google. My questions is can i remove those urls to a separate page to group them together and then showcase that one link to that page on my home page. Is that a good idea or i am going to loose my link juice and position in search? The physical urls on those pages wont change at all.
On-Page Optimization | | Dante130 -
To Optimize Brand Name or Product Name First on Product Pages for E-Commerce Website?
We are using your free month trial for optimization of our E-Commerce website. In regards to individual product pages such as this one http://www.amgair.com/air-purifiers/iqair-healthpro-plus-air-purifier/, would it be more effective to have the page title start with the brand name and then the product (as we have it now) or forgo the brand name and start with just the product. IE: IQAir Healthpro Plus Air Purifier or HealthPro Plus Air Purifier by IQAir. These are commodity type products and are price restricted so all competitive websites advertise at the same pricing and it would be helpful not only to have a keyword phrase that is searched for a lot but also one that is easy to rank for. Please give me a recommendation when possible.
On-Page Optimization | | youhow0