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
-
Has anybody ever heard of or used Linkredible?
Link building is the hardest aspect that we, and I'm sure most SEO companies, deal with. I've been looking into a company called Linkredible (https://linkredible.com) that provides link building services that are supposedly pretty "natural." Their explanations and service descriptions all seem to make sense, but I definitely don't want to do anything that could cause link penalties for my clients. Has anybody used this company or any similar services that could give me some input?
Link Building | | garrettkite0 -
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 -
Linksmanagement.com anyone use it?
linksmanagement.com anyone use it? I have seen reviews up and down just wondering if they are safe. Seems pretty simple you pay for the sites you want to be on. I assume the fees are monthly.
Link Building | | topclass1 -
Is using a tool such as My Blog Guest worth it?
I saw the post http://www.seomoz.org/blog/4-valuable-link-building-services and saw that MyBlogGuest seems like a good link building service, so I signed up. It really is confusing though, it almost makes me think I have to install WP Blogs on my sites which primarily run in Joomla, so linking directly to the blog is not an option. Okay, fine, so I'll just skip the part about putting in offers on other people's posts. I really signed up for the link building part of it anyways. So, now, I just write content in the site-used article generator? Then, go in and offer it manually to people? Doesn't really strike me as some super powerful method of linkbuilding, but there's a good chance I'm missing something. If this is the case, I'd assume I'd have to write content that is relevant to the site that I am trying to build links for, and then place links back to that site, so basically I want my posts on competitors sites and that will help out with backlinks and authority? It's really confusing. I just want to have my content writer write good content and get links from it, and this method just confuses me. I'd appreciate any insight from anyone who has used that service or can recommend something easier or better.
Link Building | | Boogily1 -
Are backlinks from sites like diigo useful for SEO?
I read an SEO article that recommended getting backlinks from social bookmarking sites like diggo.com. Does anyone have any thoughts on the usefulness of these types of links?
Link Building | | casper4340 -
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 -
Pretty basic question on how best to start using open site Explorer
So I have spend around a month or so with on page optimization on 25 -30 or so pages and keywords/phrases, with some half decent results…still hoping there is more to come… I reckon now it’s time to look at getting more inbound links with Open site Explorer… Every time I look at it though I get a bit of a head ache…! Can anyone say or point me in the right direction how I should really start using Open site Explorer ? (I have the PRO tool) Thanks, sorry its such a simple question!
Link Building | | inhouseninja0