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
-
How long does it take Google to remove links after using disavow tool?
Hi guys, So we're currently in the process of removing some of the less useful and more suspect links from our profile, and used the Google disavow tool to do so. We uploaded the .txt file to the search console on 7th July this year, 2 months ago now, and according to our most recent site crawl, the suspect links are still showing up on our link profile. Do we have any idea how long this is roughly supposed to take? The ideas I've found online are conflicting - anything from 3-4 weeks to 6-9 months. Which is it? Is there any way of fast-tracking this process? Thanks!
Link Building | | rawdog0 -
Using web dev agencies to generate backlinks
Going to start by saying I'm totally new here, so apologies in advance is this is a dumb question! I run a site that is focused on home buyer education. The site is brand new, so no almost no link profile, and I'm trying to grow my backlinks. On twitter I've had success with real estate agents sharing my articles to their followers, which is great. It helps them educate their customers and feeds the social media beast. I realized that realtors, mortgage brokers, and insurance agents (all relevant to my niche) don't usually run their own websites. Many of these sales people leverage agencies, and often the agencies offer blog posting as part of their service offerings. I'm tempted to do some outreach to these agencies and offer to write guest posts. I figure they get free, quality content and I beef up my link profile. Is this a bad idea? Are there any risks with this approach?
Link Building | | MortgageMonks0 -
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 -
Should I Use a Backlink Plugin
One of my clients recently asked me if he should use a Wordpress plugin to create backlinks to his website. He mentioned WP-Syndicator as an example. I just redesigned his website and I'd like to ensure that he gets a bit more traffic than he was before. Should I suggest that he purchase/use a Wordpress backlink plugin? If so does anyone know which is the best one? Not sure if it's necessary, but here is the website I'm referring to http://intouchhome.com
Link Building | | eddie_olivas0 -
Should we use 'disavow' if we dramatically dropped serps after Oct 5th, but did not receive a warning?
We dramatically dropped serps after Oct 5th, but did not receive a warning about bad links on google webmasters. Is it a good idea to find and collect the worst links and disavow them? As there was no warning we can only guess links were the problem, but it seems likely. However we do not want to send any requests to google if no warning was sent. Can disavow be used in this way, or should we do more manually? (We are hoping remove links + increase very solid links + optimize for key words will help revive serps) Many thanks. James
Link Building | | Quime0 -
Best Link Building technique using SEOMoz tools & Open Site Explorer
Hi, We've been with SEOMoz for a year or two now, but have have kept an eye out for productive link building tools to help the team. To be honest we're struggling with Open Site Explorer because, although it enables us to discover competitors links it doesn't provide much link management functionality. A simple example would be the ability for Open Site Explorer to show links to domains which my clients already have in a different colour, so that we don't waste time exploring dead ends. I'd be very interested to hear tips how other people use the SEOMoz tools to manage their link building as I suspect we may be missing a trick or two... Thanks in advance!
Link Building | | JonathanSmith0 -
Using an SEO Agency to build one-way links for you via link exchange
There are a number of SEO agencies which offer link building as part of their SEO offerings. I believe they build one-way links to the client site, by offering another link in exchange to the liking site. So, if the client site is "C", and link is being requested from site "A", the site "A" owner is offered a link from site "B" in return. Is this a good and/or recommended practice?
Link Building | | thinkvidya0 -
What is an infographic? And how is it used for SEO?
I've heard the term used in some of the webinars hosted on SEOMOZ and tried googling the term with no results. What the heck is this? And how is it good for SEO?
Link Building | | NaHoku0