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
-
Using Bing's linkfromdomain: operator I'm finding spam links
Hi I've recently discovered Bing's linkfromdomain: operator and have been testing it on a few of my wordpress sites which are running the DIVI theme from elegant themes These are new sites with little or no content yet I was a bit alarmed when the results showed site I definitely had not linked to eg slickdeals dot net
Link Building | | briandee
2521.gen778 dot com
9gag dot com
flowers.ftd dot com
www.jmldirect dot com
pubs.rsna dot org is this an error from the Bing linkfromdomain: operaror because when I run the domains through xenu these sites do not show Hope someone can help0 -
No-index tags-Can they be used in internal linking?
On my site http://villasdiani.com I am using yoast seo plugin and have I am using tags to organize category with villas on self-catering, full board etc but I have them set no-index as I believe they would create only duplicate content for the categories. Is it still ok to use this tags for internal linking? Example: I have a post in my blog which links to category Beach Villas(they are set to be indexed) and I would like to add option also for self-catering villas itself, which is a tag(set no-index) I am not sure if I am getting this right. Thank you very much, Iris
Link Building | | Rebeca10 -
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 -
Is anyone using Pinterest for link building?
They have dofollow links and I have read somewhere that every repin will be counted as a new link. Is this true?
Link Building | | BridalHotspot0 -
Should I Use a Backlink Plugin
One of my clients recently asked me if he should use a Wordpress plugin to create backlinks to his website. He mentioned WP-Syndicator as an example. I just redesigned his website and I'd like to ensure that he gets a bit more traffic than he was before. Should I suggest that he purchase/use a Wordpress backlink plugin? If so does anyone know which is the best one? Not sure if it's necessary, but here is the website I'm referring to http://intouchhome.com
Link Building | | eddie_olivas0 -
Has Anyone used Eyeflow SEO out of Pittsburgh
We are looking to have a third party do some white hat link building for us because we currently do not have the resources to do so in house and do not want to rush into a hire. We are looking at eyeflow because they are local to our area and we would have the opportunity to personally see how they do things. Has anyone had any experience with them, or have any suggestions for things to ask or be weary of? Thanks
Link Building | | ClaytonKendall1 -
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 -
How useful/ damaging is it to have links repeated on every page ?
Our site is dynamic in nature we have tens of thousands of indexed pages with numerous individual brands pages - all of the brand pages are equally important. We are trying to distribute link juice to those pages as much as possible - so my question is --- Is it smart and or useful or perhaps damaging or spammy to have a space on the bottom of each page throughout our site with links to each and every single brand page ? is this practice considered as duplicate content etc ?
Link Building | | AJMKristi0