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
-
I use to have very good ranking for my website, now I'm struggling
I use to have very good ranking for my website, now I'm struggling with ranking, I've been trying almost everything, I purchased an advance link building, a contextual link building campaign with Submit, and doesn't seem to be working. Any recommendations!
Link Building | | desdetj0 -
NAP corrections without using Yext
There are certain places where my address or phone number appear incorrectly online. I have tried to fix this, but many of these services are tied in with Yext, and I don't want to use Yext. For example my phone number is incorrect on whitepages.com. Also, my phone number was incorrect on Americantowns.com, and so i contacted them with the correct number, and then they deleted my listing altogether. More and more directories are tied in with Yext. Does anyone have any suggestions on how to make these corrections without using a service such as Yext?
Link Building | | RandyHT0 -
How to get Google to re-recognize a backlink that used to go to a 404?
I recently rebuilt my website last year, the address is enjoyparkcity.com. I used to have a great link from cnbc.com at http://www.cnbc.com/id/34977253/page/5, but when I rebuilt my website, that landing page url no longer existed (http://www.enjoyparkcity.com/search_featured.html). I recently rebuilt a page to catch that link again, and it works fine. Is there a way for Google to re-recognize it? I think its a normal do=follow link so Im guessing it should be valuable? Hoping it could help my rankings? Thanks in advance for any advice!
Link Building | | SeanMatyja0 -
Site used to rank first for main keyword - now dropped drastically
The home page for this site (http://bit.ly/4m1eXy) was ranking between #1 and #3 for the term "Minneapolis criminal defense" as of a few months ago. Now the home page has dropped to #23 for this keyword, and the only changes we've made should be enhancing its ability to rank - through on-page optimization, cleaning up site errors, and ensuring good, quality content. The thing is, the sites who rank ahead of our site have lower domain authority and page authority, and their content, quite frankly, just isn't that great. Some of them are definitely doing SEO but they aren't necessarily targeting "Minneapolis criminal defense" like we are for the search term. Before our company started doing SEO for this website, they hired a company that generated a large number of backlinks that Google would probably now see as spammy. The previous company also used to direct traffic towards the home page for the keyword "Minneapolis DWI laywer" too - and we have since stopped doing that. So I'm wondering with all of Google's algorithmic updates if this is the reason we're seeing a drop for this term, and if Google's confused. We're pretty confused, too, though, since the sites ranking ahead of us don't seem to be doing squeaky clean SEO by any means. Advice for us? We're stumped. Would anyone consider Google's disavow tool for the bad links?
Link Building | | Boogily0 -
What multi directory submit services should one use?
ubl.org, getlisted.org, localeze.com (neustar now), yext.com ? They all have some overlap, but what is worth paying for? Can you cover 90% of the market with e.g. just Yext and ubl.org or?
Link Building | | yvonneq0 -
Seo using images
I have a client that creates a lot of custom jewelry and takes pictures of it. They've been reluctant to part with it for fear of competitors stealing their designs, but I was able to finally wrastle them into submission and get them to release 30+ original images. I had some ideas about it, but I was wondering if you guys could help me brainstorm doing some linkbuilding using these images. 1. tag them all on pinterest 2. create a slideshow using them and upload to slidesharing sites 3. create a flickr account and upload all the images 4. search for other image/slideshare gallery sites and upload to them. (I welcome any suggestions regarding this). Any other suggestions for submissions? I was also thinking of creating some written content around each image. What type of web properties would be best for for example a FAQ about custom made emerald rings, or other types of jewelry.
Link Building | | ilyaelbert0 -
Can anyone provide any useful insights on how they use latest news items to help with SEO?
Hello, I have heard about SEO's and PR types riding off the back of latest news items that can be tied to the products or services they are trying to promote. Recently I read about how an SEO had distastefully written an article using the name of a famous singer who had sadly passed away and used this event as an opportunity to write about a small business models 😞 Can anyone provide any useful AND ethical insights on how they use latest news items to help with SEO?
Link Building | | Wallander0 -
Has anyone herd of or used link-assistant.
The video seems pretty cool. http://www.link-assistant.com/linkassistant/ Thanks Randy
Link Building | | SmallFry340