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
-
Blog commenting for SEO - Useful practice?
With most blog comments being no-follow, I was just wondering whether blog commenting for an SEO campaign these days was actually a worthwhile practice. Would love to get some insight on this.
Link Building | | Gavo0 -
Getting backlinks on a page using https
Our company got a backlink on a page with high DA but using https (https://developer.apple.com/internationalization/) more than 2 months ago. However, this particular backlink was never counted by Open Site Explorer or other backlink checker. I've contacted the Moz Helpdesk and they said they are having issues crawling https sites. So I'm wondering if anything I can do to make sure this backlink gets counted? Thanks.
Link Building | | OneSky-Admin0 -
No-index tags-Can they be used in internal linking?
On my site http://villasdiani.com I am using yoast seo plugin and have I am using tags to organize category with villas on self-catering, full board etc but I have them set no-index as I believe they would create only duplicate content for the categories. Is it still ok to use this tags for internal linking? Example: I have a post in my blog which links to category Beach Villas(they are set to be indexed) and I would like to add option also for self-catering villas itself, which is a tag(set no-index) I am not sure if I am getting this right. Thank you very much, Iris
Link Building | | Rebeca10 -
Best Backlink checker - OSE or Hrefs?
Hi Guys I am looking for a new back link tool but i'm not sure which one to go for. Should I continue using Open Site Explorer or should I go for something else like Ahrefs.com or something else?
Link Building | | AndersDK0 -
Site used to rank first for main keyword - now dropped drastically
The home page for this site (http://bit.ly/4m1eXy) was ranking between #1 and #3 for the term "Minneapolis criminal defense" as of a few months ago. Now the home page has dropped to #23 for this keyword, and the only changes we've made should be enhancing its ability to rank - through on-page optimization, cleaning up site errors, and ensuring good, quality content. The thing is, the sites who rank ahead of our site have lower domain authority and page authority, and their content, quite frankly, just isn't that great. Some of them are definitely doing SEO but they aren't necessarily targeting "Minneapolis criminal defense" like we are for the search term. Before our company started doing SEO for this website, they hired a company that generated a large number of backlinks that Google would probably now see as spammy. The previous company also used to direct traffic towards the home page for the keyword "Minneapolis DWI laywer" too - and we have since stopped doing that. So I'm wondering with all of Google's algorithmic updates if this is the reason we're seeing a drop for this term, and if Google's confused. We're pretty confused, too, though, since the sites ranking ahead of us don't seem to be doing squeaky clean SEO by any means. Advice for us? We're stumped. Would anyone consider Google's disavow tool for the bad links?
Link Building | | Boogily0 -
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 -
Using an SEO Agency to build one-way links for you via link exchange
There are a number of SEO agencies which offer link building as part of their SEO offerings. I believe they build one-way links to the client site, by offering another link in exchange to the liking site. So, if the client site is "C", and link is being requested from site "A", the site "A" owner is offered a link from site "B" in return. Is this a good and/or recommended practice?
Link Building | | thinkvidya0 -
I was looking for the best practice to use anchor tags...
Seomoz says NOT to use your anchor terms on other external pages as you will cannabilize your main page - this is news to me. Appreciate any input on this.
Link Building | | impressem0