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 -
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 -
Would it make sense to add a no-follow to About, Sign In, Join Us, Privacy, Terms of Use etc?
Hi everyone, In order to increase link juice for relevant interlinks, wouldn't it make sense to attribute no-follow to the following interlinks: About Us, Sign In, Join Us, Terms of Use, Privacy Policy, Security, Contact Us, Home (assuming brand name / logo also links to homepage), and any page where there are 2 or more links directing to the same page. Thank you, Kristian
Link Building | | knielsen0 -
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 -
Can Google ban for use of Press Releases?
Is it possible for Google to ban you if you are doing multiple press releases on a weekly basis? All content is unique and news worthy, following proper ratio density/links Thanks!
Link Building | | TP_Marketing0 -
Should I use Article Submitter software?
I've downloaded Article Demon a while ago and have been trying to use it all though it hasn't been as easy to use as I would have liked. I was just wondering what you guys feel about Article Submitting software, if it's useful or if it's a waste of time? Regards
Link Building | | HeadStud0 -
Has anyone herd of or used link-assistant.
The video seems pretty cool. http://www.link-assistant.com/linkassistant/ Thanks Randy
Link Building | | SmallFry340