Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8429523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:21:46+00:00 2026-06-10T05:21:46+00:00

I create a HTML link like this. <a href=’http://www.mywebsite.com/aPage’ onclick=’customFunc(); return false;’>Show Info</a> I’m

  • 0

I create a HTML link like this.

<a href='http://www.mywebsite.com/aPage' onclick='customFunc(); return false;'>Show Info</a>

I’m writing an ajax functionality (in customFunc) when this link is clicked and displaying data which is same as the data shown by the link in HREF tag.

Question: When search engines see my link, will they cache it? Or will they get an impression that I’m trying to do a false magic to get this page cached, and hence ignore it?

Appreciate your suggestions.


Edit: So what I interpret from this Q & A is that, (theoretically) search engines are just bothered about the href, and since it found one in the above link – it will cache this page without any troubles and it won’t be worried about the things I do in the onclick JS call.

If anyone has a different opinion, please do add your comments.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T05:21:48+00:00Added an answer on June 10, 2026 at 5:21 am

    Spiders will automatically follow each anchor in your page. If you want to avoid this behavior you have to specify rel=”nofollow” for “a” tags you want to skip. You can also avoid indexing of whole pages using meta tags or robots.txt.
    Anyway attached event listeners are theoretically irrelevant to search engine… I took a look the SEO guide lines from google here: http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.pdf and I did not read about a scenario like your.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a link like this using an action link: <%= Html.ActionLink(item.forename
I'm having an issue creating a link like <a href=javascript:window.open('www.microsoft.com');>Visit Microsoft</a> using stringbuilder. I
I'm able to create html links the following way: <a href=/about>About Us</a> This will
I have a variable with hyper links (www.wow.com) like this. I have to pass
I know SWT has a Link class to create HTML a href style links
Should I use JSF2 resources instead of plain html like <link href... or url(image.png)
I use html attribute title to set some hints like this: <a href... title=Go
error with url helper, $this->url(array(), 'home'); generate a link like this http///home Hi, I've
this is the code: def create(request, form_class=MapForm, template_name=maps/create.html): map_form = form_class(request.POST or None) if
I am using Text::MultiMarkdown to create HTML files from MultiMarkdown documents. I would like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.