Use of href=# or href=hash
-
I use links with href="#" to trigger ajax functions in order to filter/sort and refresh search results on page. Since several other html tags could potentially be used to bind a javascript event, (ie. span, img, div, etc), could there be a compelling reason to avoid using the anchor tag for this purpose? My concern is link juice dilution since many different pages will have the same links to: Sort by number of bedrooms or Filter by neighborhood. It is also common practice to use links with href="#" to submit ajax forms which are not html forms at all. I am just trying to rethink this practice and implement a best practice method. Thx
-
Okay, right you are then, just trying to help buddy.
As far as I am aware there is no compelling reason to not use the href='#' tag and this will not be diluting link juice anywhere as # is not a page.
Marcus
-
Marcus, I am using the ajax to serve "variable" content to human users only after the page has loaded and user has taken some action to sort or filter, and I specifically do not want that content indexed. BTW, regarding Google indexing ajax content, I am not a fan of using G's proprietary hashbang methodology. If you want the content indexed, then load it with the page. Any content loaded through ajax should be for human consumption only. So, back to the question, about link juice...
Thx
-
Hey, don't take this as gospel, but I believe that Google does not index named anchors so when it looks at a URL it stops at #. So, links using # would not be indexed.
The whole ajax thing is quite interesting as if the page can have different content based on data driven ajax functionality then surely you are missing out on indexing a lot of your content.
I have not done any such experiments with ajax and indexation in this way but there is an interesting moz post on this here: http://www.seomoz.org/blog/how-to-allow-google-to-crawl-ajax-content
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
-
Using Bing's linkfromdomain: operator I'm finding spam links
Hi I've recently discovered Bing's linkfromdomain: operator and have been testing it on a few of my wordpress sites which are running the DIVI theme from elegant themes These are new sites with little or no content yet I was a bit alarmed when the results showed site I definitely had not linked to eg slickdeals dot net
Link Building | | briandee
2521.gen778 dot com
9gag dot com
flowers.ftd dot com
www.jmldirect dot com
pubs.rsna dot org is this an error from the Bing linkfromdomain: operaror because when I run the domains through xenu these sites do not show Hope someone can help0 -
Anyone know anything about or ever used SubmitEdge?
Hey everyone, just more curious to know if any of you have heard about, know anything about or ever used the link building services from SubmitEdge? I only ask because they pop up everywhere and took a look at their website and it says they do everything under the sun, have PR6, Moz DA 71, Moz Home PA 76. Any feedback is good feedback and thanks in advance for any discussion points! - Patrick
Link Building | | WhiteboardCreations0 -
Tool to use to build disvow list?
opensiteexplorer has hardly any of the links listed. Is there a tool that I can use that will I search google for
Link Building | | Adsau
"If you are looking for the top provider of digital signage in Australia, visit today"
and I get 177 absolutely crap links to my site, is there a tool that can give me all the urls of the result of a google search? When I disvow does it do much? there is no hope of getting these forum post links removed0 -
Commission Junction, anythings I should know before using it?
To increase sale on eCommerce store, I would like to use Commission Junction. Is worth it? Is there things I should know before starting with them? Thank you, BigBlaze
Link Building | | BigBlaze2050 -
Http://www.linkshare.com anybody using it???
Is it ok to use services like: http://www.linkshare.com I do eCommerce. http://www.furnacefilterscanada.com/ http://www.furnacefilterscanada.com/ Thank you, BigBlaze
Link Building | | BigBlaze2050 -
Backlink's using duplicate content in article directories
I've had a link build report of all the links an SEO company have got us but a simple search for some of the content in Google with phrase match brings up about 3 pages of the same content posted to different article sites. I think it is doing something but will it just be penalised over time?
Link Building | | acs1110 -
Should I use Article Submitter software?
I've downloaded Article Demon a while ago and have been trying to use it all though it hasn't been as easy to use as I would have liked. I was just wondering what you guys feel about Article Submitting software, if it's useful or if it's a waste of time? Regards
Link Building | | HeadStud0 -
How useful/ damaging is it to have links repeated on every page ?
Our site is dynamic in nature we have tens of thousands of indexed pages with numerous individual brands pages - all of the brand pages are equally important. We are trying to distribute link juice to those pages as much as possible - so my question is --- Is it smart and or useful or perhaps damaging or spammy to have a space on the bottom of each page throughout our site with links to each and every single brand page ? is this practice considered as duplicate content etc ?
Link Building | | AJMKristi0