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.

Filter by
Sorted by
Tagged with
1
vote
0answers
13 views

What's the best tool to build a website menu? [closed]

I have an article website with 85 pages in total. It's just html, css and some javascript. I need to change the website menu so I'll have to make the change in all 85 pages. What tools should I use ...
2
votes
0answers
14 views

Disallow Image Loading to Reduce Number of “Other Error” in Crawled Page Resources?

We have a hotel search website. Many landing pages of our site load resources asynchrously (e.g. Ajax), but very often (about 25% of the time) when we click "View Crawled Page" in Google Search ...
1
vote
0answers
16 views

Google Search not properly indexing AJAX-loaded pages [closed]

I have a static website which uses async jQuery to generate articles (as well as titles and other metadata) sourced from a file (something like $('main').load('/data #location.pathname')). The only ...
2
votes
0answers
17 views

Query string parameter (?) after fragment identifier (#)

My dev is rewriting the filters plugin for my eCommerce site as our current plugin slows pageload, and part of this is to rewrite pagination and he has asked me how the query strings should be handled....
0
votes
0answers
9 views

Which one is better for SEO and UX, Get all the data and filter it on the browser or ajax request?

I'm currently working on a filter that can contain functionality such as search, sort, pagination, checkbox like in the following image. For now, I use Laravel and trust every functionality to the ...
0
votes
0answers
46 views

Is javascript filter library good for SEO?

I'm currently working on a filter that can contain functionality such as search, sort, pagination, checkbox like in the following image. For now, I use Laravel and trust every functionality to the ...
1
vote
0answers
18 views

How to avoid indexing AJAX requested URLs without also blocking the page from which the call is made?

We use AJAX to include some dynamic, context based content into a normal HTML page. The answer of this HTML call is an HTML segment without HTML headers. The problem is that Google is indexing these ...
1
vote
0answers
54 views

UberSuggest SEO tool says “low word count” for AJAX powered site with lots of words

We have a website - https://huspi.com - and I connected it to the UberSuggest SEO tool. Our website uses Express JS as well as a few other JS libraries and is technically a single-page application, ...
3
votes
2answers
116 views

SEO tools say no <h1>, <h2>, etc. when they are loaded by AJAX. Is that a problem for Google?

All SEO tools I've tested report "No h1" etc. for my most important page. But there are h1, h2 etc. but they are placed in content that is loaded via JavaScript, which is a mandatory property of the ...
0
votes
0answers
9 views

Will having a sitemap ensure pages served by AJAX requests be crawled?

I have a website, where I publish articles, that I have started just 2 weeks ago. I want to keep the pages as clean as possible and load more content (links to more articles) by AJAX requests upon ...
0
votes
0answers
112 views

Service Worker Fetch event does not appear to be firing when loading content via Ajax

I'm trying to convert my web app to a PWA and so I've created a serviceworker.js file with the following code: self.addEventListener('install', event => { console.log('Service worker installed.')...
2
votes
2answers
67 views

Adding noindex to xrobots to remove Request URL Soft 404

Bit of a technical question here that I'm working on with my dev. I have a load of Ajax request URL's appearing in Search Console as soft 404's. These requests are for buttons on the page i.e. '...
2
votes
1answer
179 views

Ajax Request with Push State to Current URL SEO Friendly?

After reading up on getting content indexed in Google that is pulled into a page from an AJAX request, I have found that you can use pushState to change the URL and this will allow Google to find it. ...
0
votes
0answers
20 views

Why do so many websites use third-party sites for hosting JavaScripts? [duplicate]

What would be the benefit of my hosting JavaScripts from ajax.googleapis.com and other third-party sites instead of hosting these scripts myself?
1
vote
0answers
25 views

Will Google be able to index nested loading via AJAX

Pages on many of my websites load additional page content via AJAX calls. The page shell will load quickly for UX reasons. Then the page shell will make secondary AJAX calls to load additional ...
2
votes
2answers
131 views

Lazy loading website sections and SEO

I have an interactive Wordpress website with multiple animations/images. I wanted to improve Google speed insight results, but keep the site SEO friendly. The proposed improvement includes lazy ...
1
vote
0answers
10 views

Finding all URLs called by a browser for loading a specific URL using Safari, Chrome or Firefox Dev Edition

I would like to sort all URLs of my website into two categories: static (=cacheable) and dynamic. Sadly the shop software does not have a URL structure allowing for this distinction. So what I would ...
1
vote
0answers
41 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
47 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
83 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
220 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
135 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 ...
6
votes
2answers
2k 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 ...
2
votes
1answer
43 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
31 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
1k 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
784 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
47 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 ...
2
votes
0answers
168 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
30 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 ...
3
votes
2answers
541 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 ...
2
votes
0answers
784 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
39 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
940 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
138 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
36 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
263 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://...
2
votes
2answers
3k 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
3k 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?
6
votes
2answers
3k 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
14 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
103 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
112 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
732 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....
6
votes
2answers
5k 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
136 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
315 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
980 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
1k 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
755 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 ...

1
2 3 4 5