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
-
Is it better to have backlinks from domains with medium DA, UR, using same language and good relevancy, or backlinks from domains with high DA, UR but using another language and with less relevancy?
Dear all, while I understand that quality backlinks with high DA, UR, same-language and relevancy would be best, would backlinks with high DA, UR but less relevancy and using languages other than the one used in my website be something good? Or would they do more harm than anything else and still be outcompeted by backlinks with lower DA, UR but same language and/or more relevancy? Thank you Frank
Link Building | | Frank_Smith0 -
Outbound Links as References - use nofollow or not?
Hey People 🙂 We run an ecommerce site and we research and wrote articles on health topics , and we post the references on the articles in posts ( Magento site / Wordpress for articles ) Should I be putting rel=nofollow in the outbound links or not? I have read a few different posts but none seem to definitively fit my situation. Kind Regards
Link Building | | s_EOgi_Bear
Martin0 -
Is anyone using Pinterest for link building?
They have dofollow links and I have read somewhere that every repin will be counted as a new link. Is this true?
Link Building | | BridalHotspot0 -
Thoughts on using the disavow tool for removed links?
Our website has been penalized by Google for the past few months due to unnatural links. We have spent the past 2 months submitting link removal requests to the domain owners with success. However, the Google Webmaster Tools "links to site" has not updated the list. I understand that they update the list of links as they crawl the website, but it has been 6-8 weeks on a lot of them (mostly our biggest offenders). We attempted to send a reconsideration request anyways, hoping Google would see that even though it is still listed, the link isn't actually there. We received a response that it is still in violation, but I believe it is because the webmaster tools links have not updated and perhaps this is what they go off of. Would you recommend submitting these domains to the disavow tool even though our link has already been removed for the past 6-8 weeks? Or even just listing them with the "#" comment tag so they can see they had been removed? Or would you continue waiting for it to update? Of course, we would like the penalty removed as soon as possible and were concerned that the list hadn't removed these websites the past 6-8 weeks our link had been removed. Example: This domain shows we have 3,397 within this website. It was an affiliate that had this URL forwarding to our pages: http://www.binet.lv/go.pl?PID=49276714O2422 . This no longer forwards to our webpage and the affiliate has been expired, but the GWT still shows them at the top of the links list. I also noticed a lot of sites left the links up, but added the nofollow attribute. These are still coming up in the Links list and does not decipher between which do and do not have nofollow. Could the spammy sites with our links as nofollow still be hurting us? Thanks for any help and recommendations!
Link Building | | shopbloc0 -
Is it OK to use backlink software like Backlinkx?
With all of Google's updates on backlinks, can SEO's still use backlink software like Backlinkx or others? Is there a better way?
Link Building | | JHSpecialty0 -
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 -
Can anyone provide any useful insights on how they use latest news items to help with SEO?
Hello, I have heard about SEO's and PR types riding off the back of latest news items that can be tied to the products or services they are trying to promote. Recently I read about how an SEO had distastefully written an article using the name of a famous singer who had sadly passed away and used this event as an opportunity to write about a small business models 😞 Can anyone provide any useful AND ethical insights on how they use latest news items to help with SEO?
Link Building | | Wallander0