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
-
Use a domain .com.br helps in SERP for Brazil searchs
Hi, I am from Brazil and here the domains finishs with .com.br my website finish with .com and is http://solaristelecom.com this situation prejudice me in the ranking results of the searchs in Brazil area? Regards, Leandro
Link Building | | lmoraes0 -
Link building - anyone use this technique?
I have had a client come and ask me to do some link building, they are wanting to use a strategy of buying expired domains and creating a single page website with some keyword links back to the main website. Seems like an old idea at best, has anyone used it or is it risky
Link Building | | seoman101 -
When we use 'link:' for who get the link, how come google show us the same domain as a link.
the search result show the domain of its own. what is is? and is it meaningful as a link?
Link Building | | onedaykorea0 -
Use 301'd Domain for a new campaign
Hello everybody, My company is getting ready to start a new mediacampaign on a very specific subject. The mediacampaign is not directly targeted at our core business, the goal is more to inform our customers about a subject and do a little branding for our company. A nice (and expensive) infographic was built that is going to be the core content of the campaign. We want the infographic to get shared a lot and therefore some of my colleagues want the url to be as short as possible. The idea is to host the infographic on a url on our companysite, but use a 301'd, shorter domainname in our communications. We are going to be getting a lot of links to this empty 301'd domain which does nothing else then 301 to our companysite. I know that linkbuilding to a 301'd domain is an old blackhat tactic, that's the main reason I don't feel good about this. But i can't really find any info on this subject.
Link Building | | Laurensvda0 -
Http://www.linkshare.com anybody using it???
Is it ok to use services like: http://www.linkshare.com I do eCommerce. http://www.furnacefilterscanada.com/ http://www.furnacefilterscanada.com/ Thank you, BigBlaze
Link Building | | BigBlaze2050 -
I could use some help with Link Building Post Panda
I am new to Internet Marketing world and want to become a great SEO. My biggest challenge is How To of Back linking. Not the reason and theory behind back linking. But more the actual hands on Back linking strategy. I feel that a lot of the back linking information out there is so mixed.Rand did a White board Friday lesson on the new link building strategies. When searching for back linking strategies it is filled with all the old link building tactics. What I wanted to ask is all the experienced back link people is, Have you changed your back linking strategy. Or just parts of your strategies. It all seems very confusing for a newbie when it seems the industry it self is still uncertain. Any advice on where a newbie should be starting their new back linking strategy. And any good resources on learning to do the actual hands-on of the back linking. Thanks in advanced
Link Building | | CurtCarroll1 -
Are you using ArticleBase.com for link building?
I'm digging my way through my competitors' link profiles on OSE and came across one that had been using a site called ArticleBase.com Apparently you can publish articles for free and browse other published articles for usage on your own site (provided you follow their TOS). It actually seems like a nifty idea. I'm wondering if anyone has utilized this site for re-publishing content and building external links. Worth the effort? Thanks!
Link Building | | TBiz0