#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
-
Unsolved Duplicate Content
We have multiple collections being flagged as duplicate content - but I can't find where these duplications are coming from? The duplicate content has no introductory text, and no meta description. Please see examples:- This is the correct collection page:-
Technical SEO | | Caroline_Ardmoor
https://www.ardmoor.co.uk/collections/deerhunter This is the incorrect collection page:-
https://www.ardmoor.co.uk/collections/vendors How do I stop this incorrect page from showing?0 -
Moving content to a new domain
I need to move a lot of content with podcasts and show notes to a new domain. Instead of doing redirects, we want to keep some content on the current domain to retain the link value. There are business reason to keep content on both websites but the new website will primarily be used for SEO moving forward.If we keep the audio portion of the podcast on the old website and move the show notes and the audio portion of the podcast to the new website, is there any issues with duplicate content?Long-term, I presume Google will re-index the old and the new pages, thus no duplicate content, but I want to make sure I'm not missing anything. I was planning to fetch pages in Search Console as we migrate content.Thanks for your help!
Technical SEO | | JimmyFritz0 -
Use of iFrames to embed video content?
So we decided to add interesting video content we have shot ourselves to improve the user experience on our website. We have read though all the SEO material and advice we could find and decided to use Vimeo to host our videos instead of self-hosting. The videos themselves will not show up on Vimeo or Google as we set our account to 'private', but we notice that to embed the videos on our website - the embed code is an iFrame. My question's are, aren't iFrames supposed to be bad for SEO? Should we look to another video hosting solution instead? If other websites embed our videos on their site using the iFrame, do we get any SEO credit or the backlink? Thx.
Technical SEO | | Liam-Web0 -
Is content important on home page
hi. i am working on a site at the moment www.in2town.co.uk and i am trying to decide if on the second column of my site where it says uk news, if i should keep it the way it is and have content under the picture or should i get rid of the content under the picture and just have the main title. I am wanting to know if the content under the picture is important for google and for the reader or would it be better just to have the title which is h2. any help would be great.
Technical SEO | | ClaireH-1848860 -
Bad Duplicate content issue
Hi, for grappa.com I have about 2700 warnings of duplicate page content. My CMS generates long url like: http://www.grappa.com/deu/news.php/categoria=latest_news/idsottocat=5 and http://www.grappa.com/deu/news.php/categoria%3Dlatest_news/idsottocat%3D5 (this is a duplicated content). What's the best solution to fix this problem? Do I have to set up a 301 redirect for all the duplicated pages or insert the rel=canonical or rel=prev,next ? It's complicated becouse it's a multilingual site, and it's my first time dealing with this stuff. Thanks in advance.
Technical SEO | | nico860 -
Blocking AJAX Content from being crawled
Our website has some pages with content shared from a third party provider and we use AJAX as our implementation. We dont want Google to crawl the third party's content but we do want them to crawl and index the rest of the web page. However, In light of Google's recent announcement about more effectively indexing google, I have some concern that we are at risk for that content to be indexed. I have thought about x-robots but have concern about implementing it on the pages because of a potential risk in Google not indexing the whole page. These pages get significant traffic for the website, and I cant risk. Thanks, Phil
Technical SEO | | AU-SEO0 -
How do i deal with duplicate content on the same domain?
I'm trying to find out if there's a way we can combat similar content on different pages on the same site, without having to re write the whole lot? Any ideas?
Technical SEO | | indurain0 -
Crawl Errors and Duplicate Content
SEOmoz's crawl tool is telling me that I have duplicate content at "www.mydomain.com/pricing" and at "www.mydomain.com/pricing.aspx". Do you think this is just a glitch in the crawl tool (because obviously these two URL's are the same page rather than two separate ones) or do you think this is actually an error I need to worry about? Is so, how do I fix it?
Technical SEO | | MyNet0