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 -
How Useful is this website for Linkbuilding
I've been looking at A to Z of materials trying to determine how much time it is worth spending on building a company profile and adding additional information http://www.azom.com/suppliers.aspx?SupplierID=2343 DA is 50+ and PA for a new listing seems to be 17 of so. My site currently has a DA of about 20. Once of my competitors seems to have put a lot of time into it Other than a profile you can also write articles and post news. It's worth pointing out that as a whole the sector has no useful blogs and most linkbuilding is done via directory listings. And Most companies have back links from less than 20 other root domains. Thoughts would be gratefully received
Link Building | | Zippy-Bungle0 -
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 it recomended to block a page using the robots file if it has recieved a manual Pengiun/Panda Penalty ?
The whole idea is creating a new page altogther instead of the page that is performing poorly after the pengiun/panda update.
Link Building | | Gmorgan0 -
What is the general consensus on using Text Broker for content?
I have seen generally good reviews for http://www.textbroker.com. Does anyone here have personal experience with it? We are considering using it for content creation for guest blogging for clients. As far as we have found, this is all within Google's acceptable webmaster guidelines. In general, how much editing is required from an article provided by Text Broker? Thanks!
Link Building | | outofboundsdigital0 -
Using Social Bookmarking for SEO: How
Hi guys, how do you guys really use social bookmarking for seo? in terms of lets say really trying to optimize the domain in general for authority, etc, do you submit blog post to diff social bookmarks, etc? Whats the best strategy you've used?
Link Building | | PaulDylan0 -
Does anyone use Adgooroo to manage Back links?
One of the top guys here is a friend of Matt Cutts and makes sure your links meet quality tests, etc. Also helps you find quality sites to get links from. I'm sure a lot of you manage links for your clients and and your own site. Any users out there or know of someone who uses it and gives you feed back/ Thanks
Link Building | | joemas991