A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

0

Google can't see some JavaScript links, so you need to be careful. Which links does Google index? <a href=”/good-link”>Will be crawled</a> This is a regular a href link that will be crawled by Google. <span onclick=”changePage(‘bad-link’)”>Not crawled</span> Google will not crawl this link because it is not an anchor. <a ...


1

What do you mean by " allow access to the .csv"? If you host the file publicly to your server, Google can find it and index it without any issues. That being said, there are ways for you to make sure they find it, such as linking to this .csv file from withing a page or submitting it using an XML sitemap. Do a search on Google for: filetype:csv sunburst ...


1

Do not add X-Robots-Tag "noindex" in the AJAX function. That may block the main html page. We thought it would be a good idea, we did it in a project and what happened is that the AJAX portion of the page affected to the "mother" HTML page and Google considers that we are giving a "noindex" header to the mother page. This is the result in our GSC. Of ...


3

Yes, it often makes sense to construct the DOM with JavaScript on the frontend rather than serving it directly as HTML. For example it is common for a server API to send data as JSON which is then parsed and displayed with JavaScript. Beyond jQuery there are a variety of libraries and frameworks for doing this sort of thing: Handlebars, Vue, etc. As far as ...


Top 50 recent answers are included