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
-
I use to have very good ranking for my website, now I'm struggling
I use to have very good ranking for my website, now I'm struggling with ranking, I've been trying almost everything, I purchased an advance link building, a contextual link building campaign with Submit, and doesn't seem to be working. Any recommendations!
Link Building | | desdetj0 -
How to get Google to re-recognize a backlink that used to go to a 404?
I recently rebuilt my website last year, the address is enjoyparkcity.com. I used to have a great link from cnbc.com at http://www.cnbc.com/id/34977253/page/5, but when I rebuilt my website, that landing page url no longer existed (http://www.enjoyparkcity.com/search_featured.html). I recently rebuilt a page to catch that link again, and it works fine. Is there a way for Google to re-recognize it? I think its a normal do=follow link so Im guessing it should be valuable? Hoping it could help my rankings? Thanks in advance for any advice!
Link Building | | SeanMatyja0 -
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 -
Does Google use link CTR as a factor?
Been wondering for a while if Google might be using CTR of links pointing your site? Anyone run any tests or have any clues?
Link Building | | Crunchii0 -
Trying to use the SEOmoz link building tools but...
all of the directories that are listed seem to be based in the US for US companies - am I missing something? By the way my target audience is solely based in the UK, Thanks, Jason
Link Building | | JasonHegarty0 -
I'm aware that spamming tools can lead to ruin..what do you use as a backlink strategy.
But I have had some luck with bookkmaRKING DEMON, and understand the pitfalls of massive submission, but I deal in facts not generalities. If the goal is to mix your links accross the pages in your site, and mix the DA quality, or pr of the links, and have them contextual as well as comments, directories, etc. who cares how it is done as long as it appears natural 1. Linkvana claims to be a posting service for you. you put text in with your link and it posts to relevant sites, the same as you would do manually. For my context links I see this as a better way than begging people to give me a link, or wasting time kissing butt of reporters (kike i did in the past). Anyway there is good and bad with everything. I want to know if anyone knows of anyone who used linkvana and what their experiences is ? And more importantly.... WHAT DOES EVERYONE USE AS A COMPLETE BACK LINK STRATEGY? Thanks
Link Building | | joemas990 -
Has anyone herd of or used link-assistant.
The video seems pretty cool. http://www.link-assistant.com/linkassistant/ Thanks Randy
Link Building | | SmallFry340