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
-
Page/Website Structure
Hello again Mozzers, We have a category, lets call it widgets. Within widgets are about a hundred or so products. For usability my predecessor made the following layout Widgets Main Cateogry - Links off homepage - (no content just links to the 3 sub-categories)
On-Page Optimization | | ATP
- Widgets by Resolution
---- About 20 subcategories
eg. 0.1 Resolution widgets
0.2 resolution widgets
- Widgets by Capacity
---- About 20 subcategories
eg. 1 capacity widgets
2 capacity widgets
- Widgets by Type
---- About 12 subcategories This was a major improvement from a userbility perspective as it made a very complex product range navigatable by the major features or basic type. However, as you can imaging we now have 60+ very similiar pages all displaying very similiar products a nightmare for SEO. It also isnt ideal for user navigation as it take too many clicks to get to the products. I propose the following fix, and i wanted your opinion. Widget Main Category - Link from homepage (Consolidated with Widgets by Type)
-300 Words of content
-Links to the 12 Sub-type Catoregies (These are pages i can fill with content + products. This would give me a more ordinary structure of which I can focus each page to a keyword) The tricky part comes with incorporating the capacity and resolution options. 1 Browse Capacity Page
(20 sub categories all the same except capacity quantity & products)
1 Browse by Resolution Page
(20 sub categories all the same except resolution value & products) The owner want them, I was going to link from the main widgets page to each of these to give the customer the option. What I can't decide is how to deal with them from an SEO point of view. Should they be no-followed? canonicaled? Can there be any advantage to having so many pages covering slightly different variations or as i suspect it is dangerous to the overall health of the site. To complicate things further, Canonical tags may not be an option due to an old magento version running that doesnt support them. Is there an alternative way around? As always many thanks.0 -
Why is my contact us page ranking higher than my home page?
Hello, It doesn't matter what keyword I put into Google (when I'm not signed in and have cleaned down my browsing history) the contact us page ranks higher than the home page. I'm not sure why this is, the home page has a higher page authority, more links and more social media shares, the website is an established one. When I have checked Google Analytics my home page gets more people landing on it than the contact us page. It looks like people are ignoring the contact us page and scrolling down until they find the home page. I'd appreciate any help or advice you might have. Thank you.
On-Page Optimization | | mblsolutions2 -
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 -
Duplicate page
Just getting started and had a question regarding one of the reports. It is telling me that I have duplicate pages but I'm not sure how to resolve that.
On-Page Optimization | | KeylimeSocial0 -
ON SITE SEARCH INDEXED BY GOOGLE - no follow or no index
Google indexes alll our internetal searches: search box is brand - clothes types - size type - and for each page it creates a page that which creates duplicate page title and unnecessary content. Should I do a nofollow on the advance search or a no index. Many thanks for the info. Sonja
On-Page Optimization | | reallyitsme0 -
Can u suggest me good one page optimization tool for wordpress based websites?
Can u suggest me good one page optimization tool for wordpress based websites?
On-Page Optimization | | dineshameh0 -
Should I use a Page Name variable after the ? for a dynamic web page
I'm converting for static to dynamic web pages. It appears that the page name is used for page ranking in the search engines. Will adding a Page Name variable help to increase our SEO. For example aspecialgift.com/subcat.php?PageName=GiftPage&ProductID=ABCDE. Does the page name variable make a difference?
On-Page Optimization | | NCBob0 -
SEO for One Page Websites
Hi Are there any SEO guidelines for "one page websites". I'm looking into the 'benefit' it might have in combination with exact match URLs. Many thanks in advance.
On-Page Optimization | | Partouter2