6

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=fd85ba02169c6907450522dc33d35765"
type="text/javascript" dval="sourceval">

This page is basically AJAX loaded. News loads via the AJAX method. page1.php appears in Google Analytics, but it`s entire content not indexed in Google search after one month. Links in the loaded content do not get indexed.

UPDATE:

I tested page in Fetch as Google tool. I selected fetch and render for a page that uses ajax. Googlebot saw the page just like visitors with all contents and images. I clicked on "submit to index" for indexing page. Now after one day I searched URL in Google and Google listed it.

But Now the problem is here that Google just shows URL and meta description in search results and not shows any content of the page.

please search this link in google. www.neginkoodebasir.ir/more?naapi= گیاهان مورد استفاده در تهیه کود سبز (بخش دوم)

enter image description here enter image description here

5

1 Answer 1

1

Google tends to show the content of the meta description on the SERP, which is what makes this field so important for SEO. Google may show content snippets instead of the meta description in cases where the content matches the search keywords and they are not in the description.

If you omit the meta description the search result description be selected from the page's contents instead and will be completely at Google's discretion.

It is not ideal to serve the same meta description for every page, so if you are not dynamically generating this tag for each page it may be best to omit the tag and let Google pull the description from your code instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.