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
-
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 -
Link Bait - How to use it question?
Hi, Lets say you have two pages, one is your money page which contains products etc and the other is a piece of content used for link bait. Say the link bait works well and you pick up lots of links from it, how do you then benefit your money page from this? I can only think of creating an anchor text link from the link bait back to the money page. Is that usually how this process works?
Link Building | | Bondara0 -
Does using "pring2web" hurt SEO?
I've never really seen this before but one of my clients has 4000+ links from Print2Web. Their rankings are falling back a bit but I'm wondering if this is part of the problem. They don't seem to say their service is about SEO so I'm not so sure this is counted as spam or not. The main concern is that the next closest number of links from one site is only 97. Has anyone heard of this service? Can someone tell me from experience if using this service has hurt SEO efforts? Thanks!
Link Building | | BenRWoodard1 -
Example of a service site using 100% white hat tactics in a competitive niche
Could someone show me an example of a service site that is using 100% content generation/brand building tactics in a boring niche? such as plumbing/electrical/movers, etc. All I see are paid nav/footer links, profile spam, directory submissions etc ranking in every niche. I'm looking for a specific example. Any site will do.
Link Building | | ilyaelbert0 -
Is traffic useful without links?
We have many articles on our sites that bring in a large volume of traffic but bring no links. As an example we wrote an article about the hottest cities in the world. The article brings in over 1000 hits a month on Google and people spend an average of 4 minutes on the page and never return and never link to it. The article also doesn't bring in business because the company sell Air Conditioning. From an SEO point of view should we focus any time at all on writing articles that are useful for the internet community that bring in traffic but don't bring in many (any) links?
Link Building | | trickshotric0 -
Has Anyone Used Zemanta ?
I read a post some time back on zemanta and thought its a great idea to build links and it has a great outreach strategy The two things you need are alot of quality images and the budget for the monthly cost. I do plan to try it in the future and wanted to know if anyone has given it a try here ? Cheers, Vishal
Link Building | | vishalkhialani0 -
Using parked domain page to get 50k+ of low quality links, good idea?
Hi all, I'm managing the seo for a hosting company. We have a lot of parked domains with a parked domain page. This will now be updated to promote our products. When this page is updated it will give 50k+ of low quality links to specific pages almost overnight. We curently don't have a very good seo ranking for our keywords, so there is little risk on the downside in the short term. Do you have any suggestions as to how I should go about this? Some alternatives off the top of my head: 1. get the page up an focus all the link equity on relevant pages with keywords in anchor text 2. add noindex / nofollowto all pages or only part of them to avoid puishment 3. add noindex / to the majority of the pages and "release" a percentage every week or so to avoid a "link bomb" Thanks for any and all input!
Link Building | | espenjo_mamut0