Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ajax]

AJAX (Asynchronous Javascript And XML) is a popular technique for creating interactive websites, though other technologies (e.g. JSON) are often used instead of XML.

1
vote
0answers
24 views

Does Google index ajax data that load after 1 second by setTimeout?

I use load Javascrpt and use Ajax for load content. And i should use setTimeout for run Ajax load function after 1 or 2 second(s). Does Google index and follow this content?
0
votes
1answer
26 views

Form submission without page refresh

I have a form and the details gets updated after submitting it and the page refreshes after that automatically and the details of the form will be shown at the bottom of the form. That means all the ...
1
vote
1answer
55 views

Internal searches using AJAX affects SEO?

I have read in some sites that is a good practice for SEO to use URLs like www.example.com/params-for-your-search as words separated by hyphens. I'm creating a SPA ReactJS Application where I have a ...
1
vote
1answer
49 views

how can file content affect whether its uploading gets a 403 error

I use ajax (POST) in javascript to send text data to be saved as a file on the server by a php program (which simply does an fopen, fwrite and fclose). This generally works OK. However recently I ...
2
votes
0answers
50 views

Crawling a SalesForce site fully generated by JS with Screaming Frog only gets content on some pages

I'm trying to crawl a Salesforce-generated site. This site appears to be fully generated by Javascript (if you load the page with JS disabled only a white screen shows up). For instance, Salesforce's ...
5
votes
1answer
424 views

Why is Facebook Pixel firing the gtm.formSubmit event?

I have a Google Tag Manger container that contains a Facebook Pixel injector tag and a regular form submission tag (with standard form submission trigger). However, when the submit button of a form is ...
1
vote
1answer
30 views

If a PHP comments script uses AJAX, is the content not indexed by search engines?

I am interested in installing the PHP comments script Easycomment. The script features include "All Ajax". The comments in the demo above do not show up in the source code of the page. Does this ...
0
votes
0answers
24 views

SEO implications of loading pages (with e.g. ajax) on a single page

I have an e-commerce site that needs 3 clicks (and page loads) to get to the actual product. This was done with the intention to have more goolgle-bot scannable pages, and therefore better ranking for ...
1
vote
2answers
491 views

AJAX content not indexed by Google

On our page users are opening posts in a modal (like facebook or twitter). The links look like this <a class="showpost" data-mpid="416246" href="/p/416246/">Open Post</a> We catch the ...
1
vote
1answer
350 views

Allow Google to index content loaded by AJAX when clicked

I have read many articles about how Google handles AJAX loaded content, and I am aware that Google is now supposed to index your page like any modern browser now. However, I am still seeing much of ...
1
vote
0answers
41 views

Does using POST vs GET for AJAX affect whether or not Google sees the loaded content?

I have a site that shows some content of its pages using AJAX with a POST method. Google is supposed crawls AJAX content for these pages, but when I try to make "Fetch as Google" on Google webmaster ...
0
votes
0answers
47 views

SEO options for AJAX infinite scroll to encourage search engines to link to base url rather than paginated fallback

I've recently updated a web site to use ajax infinite scroll techniques with a fallback to pagination when javascript isn't available. John Mueller's http://scrollsample.appspot.com/items seems to be ...
2
votes
0answers
129 views

Should the escaped fragment URL or the hash bang URL be used with Fetch as Google in Search Console?

which one url must be added into url input field of Google search console-> Crawl->Fetch as Google? example.com/?_escaped_fragment_=my-ajax-page or example.com/#!my-ajax-page
0
votes
1answer
27 views

Static page which uses Ajax to fetch “Latest posts” on homepage from Wordpress

I am making a website which has a blog as well as a "normal" website. Would there be any negative consequences of installing Wordpress on a separate blog.domain.com and using AJAX to fetch ...
2
votes
2answers
247 views

Is it SEO friendly to disable link clicks in JavaScript when the click is handled with AJAX or Angular?

If I use the anchor tag as: <a href="/page1" onclick="return false;">page 1</a> Will the Search engines see it? Will pass the link juice to it? Is it OK for SEO? I'm using angular4 to ...
1
vote
0answers
389 views

Can Google see AJAX loaded content and how to test it?

Since I knew that Google had some issue with pages with pages that load contents via AJAX I tested my client website with Google Search Console and How Google use my pages. From that tool Google seems ...
2
votes
0answers
36 views

Make the content of JavaScript and JSON powered review widget searchable in Google

I have created a review widget, which can be injected on any page. The widget will help a page owner generate content from visitors reviews and questions. I have to make this content searchable on any ...
1
vote
0answers
545 views

How is Google's indexing affected by history.pushState? When should it be called?

I am maintaining a single page app and I am trying to make it friendlier to search engines. The way the page works is that when a user clicks on an internal link, an AJAX request is made to fetch new ...
1
vote
0answers
84 views

Safari 11.0 is blocking some of our scripts [closed]

Here is a quick video describing the issue - https://screencast.com/t/zTnbBoWYmY Since the new Safari 11 we have an issue where our content isn't loading properly. We are getting messages such as ...
0
votes
1answer
33 views

AJAX compatibilty [closed]

In 2015 Google stopped supporting their AJAX for Adsense program, So I've researched and developed tons of AJAX content. I understand the flaws so I'm striving for backwards compatibility. loadPage('...
4
votes
2answers
197 views

What URL will Googlebot crawl when you use the meta fragment tag with a regular hash URL?

my client wants to use AJAX crawling (I know that it is deprecated But he wants it to use because of another search engine that still support it such as yandex.ru) So I have URL like this: http://...
3
votes
2answers
2k views

Is loading the article content using jQuery & AJAX bad for SEO?

I am loading the content of main article using jQuery . Is it effective for SEO? Is it bad practice? For example I have a page URL example.com/ariticle?seid=14 Here when the page loads, I fetch the ...
-1
votes
2answers
2k views

PHP website page loading is very slow in localhost [closed]

PHP website pages are taking very long time to load for huge data in localhost(using Xampp). The page loading becomes faster for less data. Could anyone tell why how this can be?
5
votes
1answer
2k views

How do I stop Google from indexing AJAX calls within Javascript?

We are getting a number of odd results come up on Google EG: http://www.somedomain.com/somepage/AjaxFunction.aspx?stuff=XXX&other=XXX When I looked at "somepage" the ajax function is not ...
1
vote
0answers
13 views

SEO question in regards to current way of loading my pages [duplicate]

I'm trying to implement SEO-friendly (or at least indexable) way of dynamically displaying categories; first by allowing user to use javascript to dynamically load pages via ajax (.load) and secondly ...
1
vote
1answer
52 views

Prevent Google indexing Ajax Postback

I have a website example.com where I have a number of pages where comments can be made. Instead of using postback to post the comments back to the server, I use Ajax but it seems to have created ...
1
vote
2answers
81 views

Allow bots to read dynamically injected content

I've got a pretty large Angular SPA, and I currently use ?_escaped_fragment_ to serve up static versions of all our pages. I've discovered, however, that this often has issues with newly deployed/...
1
vote
0answers
516 views

Why wouldn't Google be able to read AJAX generated JSON-LD schema.org markup parsed from a Google sheet?

There's a lot going on in that question so here's a breakdown: Every Google sheet has a JSON version that can be parsed (example). I've parsed that data using pure JS and AJAX, and generated schema....
7
votes
2answers
3k views

Does Google index #! (hash bang) URLs?

Just got confused with some blogs as everyone is sure that Google will not index the hash (#) URL but not sure about hash bang (#!) URL. I have seen a "deprecated" doc on Google regarding this, where ...
6
votes
1answer
129 views

Would could Google not index an AJAX news feed after 1 month?

I have a website that in page1.php uses a news API from other website. It has JS calling a PHP method like this: <script id="mdval" src="http://example.com/parvazproject/parvaz.php?c=...
1
vote
0answers
261 views

How to create newsfeed [closed]

I have been working on a project of making a website, and I would like to incorporate a newsfeed (similar to Twitter/fb) where all of my users can see other users updates. I have my login and ...
7
votes
1answer
727 views

Content loaded via XMLHttpRequest (xhr): How to make google aware of it?

According to google itself and another question here, google's bots execute JavaScript on crawled sites and index the rendered content. However, [a]ccording to [the] experience [of at least this ...
7
votes
1answer
962 views

Best way to let Google index page with tabs - SEO

Let' say I have a /pets page with 4 tabs on it: All Dogs Cats Owls The All tab displays all the pets on page load. Each of the 3 other tabs holds a list of dogs/cats/owls, respectively - loaded ...
4
votes
2answers
495 views

Workaround for appearing to change the URL of an infinite scrolling page when pushState is not available due to analytics

I'm building a website and they want it to be an infinite scroll single page design, and to be as SEO friendly as possible. Just to give you an example: Here is an example URL structure: com ...
4
votes
2answers
592 views

Why is Googlebot calling an AJAX method with GET rather than POST?

I have an AJAX call on my site that does a POST and returns data. Googlebot is crawling these URLs but it is attempting to use a GET method rather than a POST. This is causing hundreds of 404 error ...
0
votes
0answers
23 views

It's 2016. How much JavaScript does Google understand? [duplicate]

Google deprecated its AJAX crawling scheme which seems to suggest that it can now index JavaScript applications. People now start testing the limits of what the bot can do with JavaScript, with ...
1
vote
1answer
217 views

How to implement Schema.org markup in Ajax web applications?

I developed a web application using Ajax. Now I want to implement Schema.org markup in the application. I know how I can implement it, but I am confused how search engines crawl Ajax pages of the ...
2
votes
1answer
299 views

Google-SEO-friendly ajax site since Oct 2015

Since Oct 2015, Google have been able to crawl ajax sites automatically (so the recommendations made in former articles like this are officially deprecated). But I'm still having trouble getting ...
3
votes
1answer
74 views

SEO impact of asyncronous loading of home page content

In the home page of my e-shop I usually have banners with links to the (at that time) most important pages. These banners change frequently, like one to twice a month, and they usually don't have ...
0
votes
1answer
16 views

Please clarify me about admin-ajax.php? [closed]

Someone know What is "admin-ajax.php" and its function and how it works. Please explain me if any one have fine description about it.
2
votes
2answers
50 views

Is possible, feasible or even recommended (if possible), to change the title or the keywords of a page using Google Tag Manager?

Does Google Tag Manager could or should be used to change content in a page, like title, keywords or description?
2
votes
1answer
432 views

Is it possible to make a crawlable AJAX web application WITHOUT using HTML snapshots?

Is it possible to make single page application (SPA) crawlable without HTML snapshots with help of HTML5 History API pushState? I have found contradictory meanings. Can you support or refute one of ...
4
votes
2answers
538 views

Does Google index AJAX websites after running the JavaScript?

As I understand Google depreciated its ajax crawling scheme they came up with back in 2009. I run single page app powered by Anguar frontend with push state navigation and my question is around ...
2
votes
1answer
3k views

How should the back button behave when a site is built with AJAX and JavaScript?

I have made several websites and web applications, and still not sure of what the behaviour of the browser's back button should be. In some cases where AJAX and JavaScript technology is used, hitting ...
4
votes
2answers
61 views

Should we still care about ajax-crawling specification?

It seems google crawlers run js. But documentations of ajax-crawling techniques are still available on Google Developers site. Are they still valid and necessary to be followed?
1
vote
1answer
378 views

Ajax calls to content making site have high bounce rate in Google Analytics

Ive got a 1 page ajax style website, its actually got about 15 pages, but when a user clicks on each page the content is loaded into the page they are already on via ajax. A user can visit domain....
2
votes
2answers
381 views

Is my ajax content crawlable with the Masonry Append method?

Quick note: I couldn't make up my mind which section to post this question on - Webmasters or SO but considering this is more to do with SEO, I decided to post it here so forgive me if I have indeed ...
9
votes
2answers
496 views

Should we drop AJAX crawling scheme?

So now Google has deprecated AJAX crawling scheme. They say not to bother implementing it in new websites, because it's no longer needed since Googlebot has now no problem watching dynamic content. ...
1
vote
1answer
82 views

Page speed - Loading comments on an article/blog post

So I'm currently building a template page to use for articles that we will be purchasing from a content writer (so basically we are content marketing). I'm finishing up the layout on the comment ...
0
votes
0answers
34 views

Google INDEED crawls ajax? [duplicate]

I don't understand how this didn't make a bigger BOOM online. It is well known in the industry that google does not index AJAX (just google-search "google crawls ajax") and see dozens of articles ...