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
-
A number of times you should use your keyword in a guest blog
Is it true that if you want to rank for a chosen keyword, you have to mention that keyword 3%-5% of the whole content (in a guest blog)?
Link Building | | FilkaCer2 -
Is there a way to use your other web properties for successful link building
We have two websites that align with it each other: Site #1 - Industry editorial website that provide high quality, original and current content. This site is mature and has high authority relatively speaking. Site #2 - Industry resource website that educates general public and insiders about the industry. Content is professionally written with fantastic art and basically breaks down different manufacturing processes/materials and walks people through the benefits. Would it be a sound approach to add anchor text/link within articles on site #1 to site #2? Below are a few scenarios: Article on site #1 is talking about using [manufacturing process] to make something and site #2has a page that describes [manufacturing process] in great detail. Article on site #1 is talking about using [material] and site #2 has a page that describes **[material]**in great detail. Article on site #1 is talking why its beneficial to use a particular [material] or [manufacturing process] and site #2 has a page that describes all benefits of [material] or [manufacturing process] in great detail. Obviously, this will only be sprinkled in here and there and not in every article. It should provide users with more insight but will SE's see it that way?
Link Building | | dasickle0 -
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 -
Anyone know anything about or ever used SubmitEdge?
Hey everyone, just more curious to know if any of you have heard about, know anything about or ever used the link building services from SubmitEdge? I only ask because they pop up everywhere and took a look at their website and it says they do everything under the sun, have PR6, Moz DA 71, Moz Home PA 76. Any feedback is good feedback and thanks in advance for any discussion points! - Patrick
Link Building | | WhiteboardCreations0 -
What tools/techniques you use to check if a domain has been penalized?
If we think to buy expired or otherwise dropped domains, what tools or techniques you would recommend to check if there has bad SEO history? We could of course, check with Google itself if the site is indexed and ranks, but I am asking if there is a particular tool out there that would provide more information if a website had been shady. Thanks so much, guys! Lily
Link Building | | wspwsp0 -
Which Creative Should I Use For The Anchor Text?
Hello, I have a real estate website (I'm using a random one below). We're putting out an advertisement and I'd like to know what the best anchor text would be. The hyperlinks are underlined below. We're trying to figure out if we should hyperlink the entire thing or just the keywords and leave the text around them. Also one of the keywords we're going for is an exact match on our domain (just like "homes for sale" and "homesforsale.com" below). The main keyword is "Homes For Sale", secondary "Real Estate" Out of the options below, which one would you choose and why? Or do you have any other options? We have to stick to this char limit, so the options are limited. Thank you for your help... HomesForSale.com Homes for Sale Locator Real Estate HomesForSale.com Homes for Sale Locator Real Estate HomesForSale.com Homes For Sale Locator Real Estate HomesForSale.com Search Homes For Sale Nationwide
Link Building | | Optimize0 -
Guest Blog Etiquette & Re-using "Expired" Content
Hi everyone, There's two parts to this Q, which is why the title's sort of split in half. We wrote a guest blog post that we were really proud of, which took a good few hours of work. It went live about a month ago, but I just happened to notice recently that it had disappeared off the person's website - I now get a 404 error and I can't find it either using a 'site:' search in Google or via the site's own search tool. I've tried getting in touch with the webmaster, but he's no longer responding to my emails. I really don't know if a) it disappeared by accident (for whatever reason), or b) they purposefully wanted to remove it and now they're avoiding me. My two Q's: Do you think it's cheeky to re-use the content, by giving it to someone else? Or would you say it goes against guest blogging etiquette? It seems a shame to waste it, for it to disappear. If I were to re-use it, would there be any implications regarding Panda, given the fact that it was content that was once live (i.e. effectively 'duplicate', once upon a time), even if the 'original' content is no longer indexed by Google? Would it even be considered a duplicate if published again now? Many thanks in advance!
Link Building | | Gmorgan0 -
Should I use a branded url or an exact match, and which branded url?
I'm thinking of changing my client's 37 character exact match url because it looks spammy to me and Google says it will be turning the dial down on exact match domains. I still see a lot of value in it however and it is helping this client, albeit very little since he is new in his arena. His goal is to rank for keywords in that url so I hate to lose the benefit of that url. As an example, let's say his url is floridahealthinsurance-quote.com I'm concerned now because I plan to do some reputable and highly relevant link building and I'm afraid bloggers might hesitate linking to a spammy sounding url. This client does have a branded url that is short and sweet, something like millerbenefits.net, and that redirects to the long url. Back linkers could link to the short url instead. However, it lands people on the site with the long spammy-sounding url and they may not want to be affiliated with it. Something like millerbenefitsinsurance.com is available and it does have 2 keywords in it. Should I get that instead? In short the question is this:
Link Building | | KatMouse
Should I change or keep floridahealthinsurance-quote.com If I should change it, should I change it to:
millerbenefits.net
millerbenefitsinsurance.com Thanks for your help!0