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
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
-
Does anyone have solely used fresh web explorer for link building?
hello, As far I am concerned one of the best link building strategies is broken link building. But what about if you reverse the tactic and you build links using only fresh web explorer? Anyone have tried this or not yet? If yes, results are good? I will try it soon on a new site ...and some info regarding results would be appreciated. Once I use it by my self and first links are indexed I will provide more data regarding the campaign... Thanks
Link Building | | nyanainc0 -
Empty href damages SEO? (href="#")
Hello, I'm analyzing a website with thousands of pages.
Link Building | | prozis
I realized that on many of them they have empty links such href="#". I wonder if that will cause any SEO damage, or if Google will just ignore it as there isn't any link? I was reading about it and people seems to not be sure, although they recommend on forums to user the CSS pointer clickable instead of empty link. Let me know your opinion on this please! Thank you in advance!0 -
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 -
Which tools/techniques do you use for backlink indexation?
Hello All, I was wondering if you have a list of sites, tools or best practices in order to get your new backlinks indexed sooner by Google. Thanks a lot in advance! Luis
Link Building | | Yeeply.com0 -
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 -
Is www.indexkings.com safe to use?
Does anyone know if www.indexkings.com is a safe site to use to index a url in the eyes of Google?
Link Building | | SEOQuest720 -
Should I use RSS Feeds for SEO Purposes?
Hello... I am wondering if RSS feeds are good for SEO purposes... If i have a blog on my e-commerce site that links back into my site, should i then submit my feed to a bunch of RSS feed sites? Please tell me if i should be submitting my feed to all the RSS Feed Blog directories i can find or if that will appear as though i'm trying to gain links in the wrong way, from Google's perspective. For example: http://www.feedage.com/ http://www.feedlisting.com/ .... just to name a few of the directories i've found Thanks
Link Building | | Prime850 -
Wordtracker Link Builder Tool - Anyone Use it?
I have been using Wordtracker for about 10 years for my keyword research. They have recently unveiled a new link builder tool. I was wondering if anyone had used it or could give me some feedback on it
Link Building | | TheGrid0