J
J
jazzman72020-06-29 03:45:08
Google
jazzman7, 2020-06-29 03:45:08

Do search engines see ajax loaded content?

Good day.
The lion's share of the site is loaded ajax a second after the main page load, in this way

<script>
var t = setTimeout( function() {
$.ajax({
type: 'POST',
url: '/news.php',
 data: {
                    aj: '<?=$user['url']?>'
                    },
cache: true,
async: true,
success: function(html){
$(".news").append(html);
}
});
}, 1000 );
</script>


Will search engines see the content, will they index it well?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex Glebov, 2020-06-29
@jazzman7

robots will not wait while the data is loaded
https://yandex.ru/support/webmaster/robot-workings...
https://support.google.com/webmasters/answer/81766...

X
xmoonlight, 2020-06-29
@xmoonlight

Search engines see everything that is processed before window.onload is completed
. Further, js is not processed.
Ie, your option - will not work.
Use includeHTML to load .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question