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
-
Not sure which url to use for backlinks
Hi our site, northamericahvac.com automatically goes to http://www.northamericahvac.com/servlet/StoreFront. There isnt anything I can do about it though, because we use prostores which limits things for us. That leads me to ask, when I'm making backlinks would I use northamericahvac.com www.northamericahvac,com, or http://www.northamericahvac.com/servlet/StoreFront.
Link Building | | ithvac0 -
What do you use to gather and build Links?
I was just wondering what do most people use for gathering and building links? Is OpenSiteExplorer enough? When I am analysing competitors, there are literally thousands of links, how do you scan them and select the ones you want to use? Any other tools?
Link Building | | moneywise_test0 -
Is Link Detox program safe to use?
Hi I have been doing some research today to help a client who has lots of links to their site but they are mainly of low or no value. The links were created by another SEO agency so we are not sure in all cases how the links came about or who to contact to get rid of them. I have come across link detox http://goo.gl/o2fKl. I wanted to suggest to my client to use this to help them see what links are bad and what should be kept I have two question's; Has anyone had any experiences with this program and have found it useful? Would there be any negative affect of us using this program with reference to my clients website? Many thanks for your help.
Link Building | | mblsolutions0 -
Do I need to use rel canonical in a blog?
I work at an ecommerce site and we are in the process setting up a blog. Do I need to use rel canonical what talking about a certain category? If I sell widgets and write a blog about widgets should I use that tag? Or is there something else I should do?
Link Building | | EcommerceSite0 -
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 -
Would using SE.NukeX or M. Submitter Hurt My Rankings Or Help?
I used to think they was great for time saving, for 2.0s forums etc yet I'm worried that, as this method is widley used it would now possibly hinder my site?
Link Building | | ramtulla0 -
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