|
/ Documentation /AI Ready/ How to Fix the Home Page Text Without JavaScript Result in SureRank AI Ready Checks

How to Fix the Home Page Text Without JavaScript Result in SureRank AI Ready Checks

The Home Page Text Without JavaScript check in SureRank tests whether the home page sends its text in the HTML itself. Many AI crawlers do not run JavaScript, so text that only appears after a script runs is invisible to them. This guide explains each message the check can show, and how to fix it.

Requirements

  • SureRank and SureRank Premium, both active and updated to the latest versions
  • An active SureRank Premium license (Pro, Starter, or Business). Upgrade here
  • AI Ready turned on. See What Is AI Ready in SureRank?.

What the Check Looks At

SureRank requests the home page of the site, the same way a crawler does. It does not run any JavaScript. It then removes the scripts and styles from the HTML it got back, takes out the tags, and counts the words that are left. The count includes every visible word of the page, for example the menu and the footer, and not only the main text.

  • 40 words or more: The row shows Passed and reads “Your home page carries its text without JavaScript:” followed by the number of words.
  • Fewer than 40 words: The row shows a Warning.
  • The home page answers with an error: The row shows Critical.

Before You Begin

If you’re looking to see what a crawler receives from the home page, follow the steps below.

  1. Open the home page of the site in a browser.
  2. View the page source. In most browsers, right-click the page and choose the option to view the page source.
  3. Search the source for a sentence that you can see on the page.

If the sentence is in the source, a crawler can read it. If it is not, the text is added by a script after the page opens.

  1. Go to SureRank → AI Ready → AI Ready Checks.
  2. Find the row for the home page text. Click the arrow button on the right of the row to open its panel. The panel explains the check and shows the address of the home page that was tested.

Common Issues

This section lists each message and what to do about it. The row has no Fix It For Me button, because the text of the page is not an AI Ready setting.

Issue: “Your home page arrives with almost no text: N words.”

Symptom: The row shows a Warning. N is a number below 40. The panel adds “That is all a crawler that does not run JavaScript receives from your home page.”

Cause: The HTML of the home page has very little text. The text of the page is added after the page opens, by a script. The usual causes are a section that is filled in by a script or loaded from another source after the page opens, text that is part of an image, and a coming-soon or loading screen. Sliders, tabs, and accordions built with the block editor, including the Spectra blocks, keep their text in the HTML, so they are not the cause by themselves. SureRank counts all the text in the page, including the menu and the footer.

Fix:

  1. Open the home page and view its page source, as described above, to confirm that the text is not in the source.
  2. Find which page is the home page under Settings → Reading, and open it for editing.
  3. Add the main text of the page in a text block or a section that is part of the page itself, and not in a section that a script fills in after the page opens or in an image.
  4. Clear the site cache and the CDN cache.
  5. Go to SureRank → AI Ready → AI Ready Checks and click Run Checks.

Expected outcome: The row no longer shows this message. If nothing else is found, it shows Passed and reads “Your home page carries its text without JavaScript:” followed by 40 or more words.

Issue: “Your home page answers with HTTP N.”

Symptom: The row shows Critical. N is the number the home page answered with, for example 503 or 404. The panel adds that crawlers and assistants receive this error instead of the page, and that a maintenance or coming-soon plugin is the usual cause.

Cause: The home page does not load for a visitor without a login. A maintenance or coming-soon plugin that is turned on is the usual cause.

Fix:

  1. Open the home page in a private browser window, where you are not logged in, and check what it shows.
  2. If a maintenance or coming-soon page shows, turn off the maintenance or coming-soon mode in the plugin that adds it.
  3. Clear the site cache and the CDN cache.
  4. Go to SureRank → AI Ready → AI Ready Checks and click Run Checks.

Expected outcome: The row no longer shows this message. If nothing else is found, it shows Passed. It shows the Warning above if the page loads but has little text.

Issue: The row is not shown

Symptom: The Home Page Text Without JavaScript row is not in the list at all.

Cause: SureRank could not reach the home page. This happens when the site is slow, or when the server refuses the request. In that case, the screen shows a different row about the site.

Fix: See How to Fix the Site Slow and Site Unreachable Results in SureRank AI Ready Checks.

Expected outcome: After the site can be reached, the row shows on the next run.

Still Not Resolved?

If the steps above do not help, contact the SureRank support team with the following details:

  • WordPress version
  • SureRank and SureRank Pro versions
  • The exact message on the row in AI Ready Checks
  • The name of the theme, the page builder, and any caching or maintenance plugin that the site uses
  • A screenshot of the page source of the home page

Notes

  • If the page set as the home page under Settings → Reading is deleted, WordPress shows the latest posts instead, so this row is not affected.
  • The check counts the words of the whole home page, so a short page with a long menu can pass. It is a sign that the page has text, not a measure of how good the text is.
  • The check needs at least 40 words. A page that is meant to be short, such as a landing page with a few lines, shows a Warning even when all of its text is in the HTML.
  • Most rows in AI Ready Checks test a real request to the page, so a cache can change the result. Clear the cache before running the checks again.

Related Docs

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top