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
-
Homepage canonical url with splash or not with splash? All other links are without but logo links with splash
Hello, There is so much contradicting information about the homepage canonical URL. Many websites have all the links without the trailing splash but their homepage URL still contains the splash. Now Moz is an example with this. Their urls don't have the splash, and their canonical does not have the splash. Why is it so and why so much different ways people have it?
On-Page Optimization | | advertisingcloud0 -
Indexed/Submitted URLS vs Total Indexed
Hello, My site is www.colbysphotography.com. I have Total Indexed 195 while I have 87 URLs submitted and only 79 URLs Indexed. What is the difference and is there a problem? Thanks ahead of time,
On-Page Optimization | | littlecolby
Colby0 -
How much SEO value does a fashion site get from bolting text onto the bottom of home page? Does the value compensate for cluttering up a page focused on an iconic image?
Getting ready to launch a completely redesigned site for a fashion designer. Since it is a fashion site, visitors do not need text to describe what the site is about., We are weighing three options: 1) clean design with no text (just images and navigational links), 2) bolting on a couple of sentences of text at the bottom of the page to signal keyword terms to the search engines, 3) following the lead of the top ranking site in the category and adding lots of text to the bottom of the page. Do the SEO benefits justify cluttering up the design by bolting text onto the bottom of the home page, and if so, how many characters of text seem to be the minimum to be effective?
On-Page Optimization | | RandyP0 -
Boosting page authority/rank by linking from blog
We're developing several blogs and I was wondering if it would make sense to periodically create blog entries that 'naturally' link to certain pages on the main site. For example we have a large amount of 'partners' across the country, and we wanted to do an interview series on the blog, and insert a link into the interview, such as "partner bob services the Boston area", or something more elegant than that. Would have have any significant impact on the 'boston page aside from the pass through traffic from the blog?"
On-Page Optimization | | ilyaelbert0 -
Excessive Internal Linking...But it's a product page. What to do?
A few of our companies sites' product pages have the warning about excessive internal links. But these pages are product pages (for example). Should we be worried about this warning? Are there ways to avoid it? Or is it just the nature of the beast...? Thanks in advance!
On-Page Optimization | | DevonIntl0 -
Why home page ranks higher than keyword-optimized page
We have a page that is optimized for the keyword "job scheduling". A search on the keyword "job scheduling" results in this page not ranking at all, while our home page (uc4.com) ranks third. Could you provide some ideas/suggestions as to why this would be the case and how to make our job scheduling page rank higher? Thanks, claudia
On-Page Optimization | | claudmar0 -
Relative links
Hi, How much of an SEO issue is it to have relative links vs. fully written out links, like http://www.seolinkquestion.com/my-silly-question ? If I have a site that uses relative links, should I change them all? Thanks...Mike
On-Page Optimization | | 945010 -
Can I have a strong brand category page and a strong product page?
It seems Google base and other Comparison Shopping Engines like to see the brand in the product name. But, on my category page for that brand, website optimizer tells me including the brand name with each product is cannabilizes links. For example; I have a page for jewelerABC with 20 pieces of jewelry listed as well as original content about jewelerABC. I do not currently name these products as xyz by jewelerABC. This page comes up nicely in the serps. But in Google base The top listings for jewelry by jewelerABC seem to have every product named xyz by jewelerABC or JewelerABC xyzs. What is the best way to optimize.for both? Stephen
On-Page Optimization | | stephenfishman0