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 content using AJAX and jQuery. When the user gets the page, the common template is the first thing to load. Inside this template <body>
, I have a <div>
and it's class is main-article
. During the document.ready
function I get the selected news article id frome the URL (seid=14
) & then fetch its corresponding content from the database and show it inside the class main-article
.
If doing this is bad for SEO, how can I make my individual posts more SEO friendly?
Google has an AJAX crawling scheme, but it is deprecated now.