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 will link farms and back sites be penalized or when will the website using them as backlinks be penalized?
After doing some backlink searching on competitors, I see a great deal of competitor's backlinks are obvious linkfarms and just completely unrelated to their field. Also I see a lot of forum comments using links are showing as backlinks, upon inspecting the html element I see they're " no follow " links. Why are they showing up as backlinks with link equity then?
Link Building | | Deacyde0 -
What outreach tools do you use?
I was wondering what an SEO with years of experience used to perform outreach campaigns? What software (Buzzstream, Inkybee), what email service (MailChimp), what prospecting tools (Buzzsumo)? What's the ultimate pairing of software and tools for maximum results (with the best client-facing KPIs)?
Link Building | | TinaMumm0 -
Getting backlinks on a page using https
Our company got a backlink on a page with high DA but using https (https://developer.apple.com/internationalization/) more than 2 months ago. However, this particular backlink was never counted by Open Site Explorer or other backlink checker. I've contacted the Moz Helpdesk and they said they are having issues crawling https sites. So I'm wondering if anything I can do to make sure this backlink gets counted? Thanks.
Link Building | | OneSky-Admin0 -
Am I using my Blog properly? -- Advice Please
Hello... I am just looking for some feedback in regards to the blog on my website. I am using the blog to create unique and fresh content, hoping that it will in turn help my site attract visitors and better rankings... My question is, does each post have to be at least 500 words or is a 300 word post fine? I do put hyperlinks back to the correlating pages on the site inside each of these posts, just wanted some feedback on if everything i write needs to be roughly 500 words..... Here is my blog if you want to take a look at what I've been doing and provide any feedback..... thanks!
Link Building | | Prime850 -
Is it bad to insert links to other sites and use bold on keywords?
Hi, This is a question I always had doubt about, and would be very grateful in to know your opinions. Is it bad to link to other sites? Can this causes problems to my blog? I frequently insert links in keywords, etc, for other sites. Many times, for sites greater than mine, and I heard from some people that this is bad. Is this correct? In last days, I have used, in some links, the atribute "nofollow". This is good, or not? In a case, for example, when linking to Wikipedia, is it good to use "nofollow"? And about keywords: I'm mostly using bold on them. Is it good, or not? This subject always makes me think. I would be very grateful for any help. 🙂
Link Building | | Andarilho0 -
Which link should I use for link building?
I have an article which have high rank on Google. But recent, I use mod rewrite url so this article have new url. old: mywebsite.com/c1/p-1 new: mywebsite.com/c-e/p-1 Now, google is indexing old url. I want to ask when I build linking to my site, which link should I use for link building? I should build linking for new url or old url. Thanks
Link Building | | sonzin13040 -
Best way to use a cartoon as linkbait
I have an idea for a cartoon that, once created, is likely to be shared a lot in my niche. I'm currently hiring someone to draw the cartoon. My question, though, is the best way to get SEO benefit out of this. If you had a cartoon that was likely to go viral would you publish it as a blog post on your site? People tend to like sharing things that are on imgur or flickr, but these won't help my seo. (Other than perhaps if I end up getting good PR on a flickr image and then link back to my site.) I'm likely going to just publish this as a blog post on my site, but I thought I'd float this out there for other people to give their input. Have you ever used a cartoon or image for linkbait?
Link Building | | MarieHaynes0