#hashtag Anchor text within content
-
Hi, i have a question about anchor text within my sites content.
It 'jumps' to content displayed further down the page via a side navigation at the top. These links don't take you away to any other page, instead take you further down the page to the relavent content.
My question is this: I've noticed in the URL that the anchor text - #jumpnavlink is placed at the end of the pages URL like so..
www.mywebsite.com/example-page.php#jumpnavlink
Is this creating a problem for duplicate content?
Is it creating a new URL for viewers to use?
Is it ok to have lots of these running throughout my sites content pages?Many thanks for any light that is shed on this one!
Cheers
Alex -
Hi Alex,
Matt is absolutely right - engines ignore everything to the right of the hash (properly called a "named anchor" or "URL fragment").
They ignore fragments for the reason you just described. Fragments have traditionally been used in web design to build "table of contents" navigation that drops a user down the page to a specific position on the page, whether a different section, or a specific user's comment, etc. If a page has 10 sections with 10 corresponding fragments, obviously the engine just wants to index the root URL, rather than waste time and money indexing all the fragments, which would be duplicates of the root URL.
Fragments can be very useful for visitors who want to link to a specific part of a long article, or directly to a comment they made.
There is no problem whatsoever with using lots of fragments for in-page navigation.
-
yup .. search engine will see it as single page -
www.mywebsite.com/example-page.php
_Now, if you numerous pages with hash tags that means, you are cramming loads of content in the same page that is www.mywebsite.com/example-page.php. This may be bad for the users but SEO's perspective this URLs bad, really bad.
To target different pages, you need to have URLs without the hash tag. _
-
As far as I am aware Google doesn't index urls with a hashtag as this is pointing to an internal part of the page - essentially it will only index the url without the hashtag, so it isn't creating a new URL. However to be certain of this I would stick a site: query with your url including the hashtag and see if it appears with the hashtag, if, as I expect it doesn't then you shouldn't have an issue with duplicate content under two urls. As far as them being ok in relation to your SEO efforts I don't see why there should be a negative impact as you are essentially making your site more user-friendly and pointing to a specific part of the page that is already indexed - your are not duplicating that part of the page by creating an internal anchor to that specific content.
Just for your confirmation I can tell you I have a page that uses an internal anchor (#) and when you do a site search in Google this page doesn't appear. When you search for it without the # it does...
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
-
Duplicate content analysis
Hi all,We have some pages being flagged as duplicates by the google search console. However, we believe the content on these pages is distinctly different (for example, they have completely different search results returned, different headings etc). An example of two pages google finds to be duplicates is below. if anyone can spot what might be causing the duplicate issue here, would very much appreciate suggestions! Thanks in advance.
Technical SEO | | Eric_S
Examples: https://www.vouchedfor.co.uk/IFA-financial-advisor-mortgage/harborne
https://www.vouchedfor.co.uk/accountant/harborne0 -
Our original content is being outranked on search engines by smaller sites republishing our content.
We a media site, www.hope1032.com.au that publishes daily content on the WordPress platform using the Yoast SEO plugin. We allow smaller media sites to republish some of our content with canonical field using our URL. We have discovered some of our content is now ranking below Or not visible on some search engines when searching for the article heading. Any thoughts as to why? Have we got an SEO proble? An interesting point is the small amount of content we have republished is not ranking against the original author on search engines.
Technical SEO | | Hope-Media0 -
What to do with old content after 301 redirect
I'm going through all our blog and FAQ pages to see which ones are performing well and which ones are competing with one another. Basically doing an SEO content clean up. Is there any SEO benefit to keeping the page published vs trashing it after you apply a 301 redirect to a better performing page?
Technical SEO | | LindsayE0 -
Fullsite=true coming up as duplicate content?
Hello, I am new to the fullsite=true method of mobile site to desktop site, and have recently found that about 50 of the instances in which I added fullsite=true to links from our blog show as a duplicate to the page that it is pointing to? Could someone tell me why this would be? Do I need to add some sort of rel=canonical to the main page (non-fullsite=true) or how should I approach this? Thanks in advance for your help! L
Technical SEO | | lfrazer0 -
Can hosting blog posts with keyword anchor text on outbound links cause a penalty?
My site received a Google penalty for having inbound links from blog posts with over-optimized ("spammy") anchor text. I spent months getting these links removed. Yesterday - I received a link deletion request from a site that my site had linked out to (three links via keyword anchor text relevant to their company) in a blog post. The "unnatural link" penalty still hasn't been removed from my site. My question is: Does the penalty work both ways? For having inbound "unnatural" links ... AND for having outbound "unnatural" links?
Technical SEO | | RedNovaLabs910 -
How to avoid duplicate content penalty when our content is posted on other sites too ?
For recruitment company sites, their job ads are posted muliple times on thier own sites and even on other sites too. These are the same ads (job description is same) posted on diff. sites. How do we avoid duplicate content penalty in this case?
Technical SEO | | Personnel_Concept0 -
Crawling and indexing content
If a page element (div, e.g.) is initially hidden and shown only by a hover descriptor or Javascript call, will Google crawl and index it’s content?
Technical SEO | | Mont0 -
How to tell if PDF content is being indexed?
I've searched extensively for this, but could not find a definitive answer. We recently updated our website and it contains links to about 30 PDF data sheets. I want to determine if the text from these PDFs is being archived by search engines. When I do this search http://bit.ly/rRYJPe (google - site:www.gamma-sci.com and filetype:pdf) I can see that the PDF urls are getting indexed, but does that mean that their content is getting indexed? I have read in other posts/places that if you can copy text from a PDF and paste it that means Google can index the content. When I try this with PDFs from our site I cannot copy text, but I was told that these PDFs were all created from Word docs, so they should be indexable, correct? Since WordPress has you upload PDFs like they are an image could this be causing the problem? Would it make sense to take the time and extract all of the PDF content to html? Thanks for any assistance, this has been driving me crazy.
Technical SEO | | zazo0