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 -
When buying used domains, how do i see the links pointing to that domain? OSE not showing links
when buying used domains, how do i see the links pointing to that domain? Sometimes the open site explorer doesn't show any links to the domain, especially if the domain is parked. Obviously a domain for sale with 1000 domains linking to it has lots of SEO Value right? Thanks mozzers!
Link Building | | Ron100 -
When do i use disallow links in WMT?
Hello, i have in Webmasters Tools 66 links to my website and i see many links of forums and blogs that copied the same post from another blogs, etc.. There are 2-3 always, i am not concerned but i don't know if i should use this tools to eliminate some links. What do you think? When should i use this tool? Thanks so much.
Link Building | | pompero990 -
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 -
How do you use a blog to help SEO.
Hi, So you launch a blog on your website, fill it with lots of great content and update weekly with more great content. From what I know your looking to gain 2 things! 1. Users linking back to your blog and 2. Sharing the content on social networks. Building up social lists on Twitter, Facebook, Google+ etc so when you do post something new you have a hub of users to help push your post by sharing it on social networks which should also help to generate more backlinks. Is this the main purpose of a blog for SEO? Would anything else apart from the above effect the SEO for the site? Maybe the freshness of content also has a positive impact! Also if your blog is picking up lots of links, for this example lets say 100 links a month and the rest of the site outside of the blog is picking up 10 a month will the blogs power of picking up links effect the rest of the sites rankings, would you need to anchor text link out of the posts in the blog to make the most out of it? Cheers
Link Building | | activitysuper0 -
Article submissions for link building- what sites do you still use?
Hey Everyone, Long-time SEO'er first time poster here. I've been doing SEO for around 5 years but since starting my company The Search Ninjas last year I've been so bogged down with client work that I feel like I'm starting to fall behind on what's still effective from a link building perspective since all of my clients are local businesses and since we've been focusing so much attention on Google Places. My question is- are there any general article sites that you still use for SEO since the Panda update last year (that you firmly believe still offer "juice"), or do you mainly focus on niche sites and guest-blogging? I'm looking for ideas regarding how to find content submission opportunities for clients for link building purposes. I'm familiar with Ontolo and the Whitespark Link Prospecting Tool in terms of ways to find opportunities (and of course cherrypicking competitors' links using OSE and SEOSpyglass), any other recommendations? Best, George ps clients are in legal niche for the most part if that helps you out, but this is mainly me looking for everyone's general opinion.
Link Building | | georgetsn1 -
Link building without using trademarked names
If a particular brand's terms & conditions stated that you cannot use their trademarked names in your backlinking strategy, what are some good ways to rank higher for those names?
Link Building | | aidin30000 -
Which backlink will be more useful?
Which bacllink will be most useful and gives me most juice? -link from all pages on the website (in footer), such as menu
Link Building | | ATCnik
-link from all pages on the website (in footer, display:none;), such as menu
-link from home page (footer)
-link from the page which have highest PR (PA) (footer)
-contextual-link from most relevant page on the site0