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
-
Disavowed links, updated website etc - still no ranking improvements
Hi, Could anyone take a look at www.artificialgrass4u.co.uk - a few years ago it used to rank highly for 'artificial grass' ... then when Google rolled out its algorithms punishing websites with poor links it lost all it's rankings. We've disavowed almost all of the bad links, and have been adding new optimised content etc over the past few months but rankings still haven't improved. Is there anything I'm missing? Thanks
On-Page Optimization | | icansee0 -
New site pages are indexed but not ranking for anything
I just built this site for a client http://primedraftarchitecture.com. It went live 3 weeks ago and the pages are getting indexed as per Webmaster Tools. But I'm not seeing it rank for anything. We're adding blog articles regularly and used Moz Local for local links and have been building links in other local directories (probably about 15 so far). Usually I get some rankings, although very low, after just a week or two for new sites. Does anyone see anything glaring that may be causing a problem?
On-Page Optimization | | DonaldS1 -
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 -
Google indexing https insted of http pages
Hi!
On-Page Optimization | | ovieira
First of all i have a Wordpress portuguese languagem website (**http://**bit.ly/TGjpVx). For a while, for security pourposes, i had a SSL certificate installed on my website but i didn't renew it, for a few months now. I didn't have any special https page. All pages responded using http or https. My problem is that it seems that Google still indexes some o my webpages with https and not http, so when people click on it they get a bad cached page. No good for SEO, i think. What can i do about this? I only want Google, and other serach engines, to index my clean http pages (about 70 pages). Thanks,
OV0 -
Main page link reduction
I am in the process of reducing the number of internal links from the homepage with the assumption that the more links I have the more "juice" goes to internal pages I have two options since many of the links are costumer service related 1. create one link that leads to a costumer service page and place all the links their. 2. get all those links on the main page as nofollow links. what are your opinions
On-Page Optimization | | ciznerguy0 -
Why are some of page indexed and others not
I have created a site structure like this: domain/for-sale/brand domain/for-sale/brand-model domain/for-sale/brand-model/pg1 domain/for-sale/brand-model/pg2 domain/for-sale/brand-model/pg3 etc.... I cannot understand why the domain/for-sale/brand-model does not seem to be indexed, yet the domain/for-sale/brand-model/pg6 is? This is a new site, but I cannot understand why this URL would be indexed without the others... Any ideas? My home pages has links to the domain/for-sale/brand, this page has links to domain/for-sale/brand-model1, domain/for-sale/brand-model2 etc, each of these pages have links to domain/for-sale/brand-model/pg1, domain/for-sale/brand-model/pg2 etc...
On-Page Optimization | | MirandaP0 -
Do I need canonical link on target page?
I've placed in my head tag on duplicate content pages, but do i need to place it on the target page such as http://www.example.com/index.html too?
On-Page Optimization | | CaliB0 -
Page title changes based on results per page
I have a product listing that allows customers to set a results per page option. This ads a GET variable to the URL. I've added the page number to the title of this page if they go past the first page. If this results per page variable is added to the URL then google see it as a different page. Do I need to change the page title for this?
On-Page Optimization | | BedInABox.com0