# Fix technical SEO problems

An audit tool or Google Search Console can flag hundreds of 404 errors, duplicates and redirects on a website that keeps getting visits. Sorting them out saves you weeks of useless fixes and helps you find the error that keeps an important page out of Google.

**Most technical alerts describe normal states: a deleted page that returns 404, a redirected URL or a duplicate set aside in favor of its reference version.** Look for the reason why the pages that should appear in Google are missing from the results. Work through the steps Google follows, in order.

## Key takeaways

- For Google, a 404 and a 410 have the same effect: it removes the URL from its index and crawls it less and less often1.
- Google may treat a redirect of many old pages to a website’s homepage as a page not found2.
- In December 2024, the US hosting company Vercel observed that the crawlers of OpenAI, Anthropic and Perplexity don’t run the JavaScript of pages, while Googlebot does3.
- In 2025, the software company Ahrefs measured that AI assistants send their users to 404 pages nearly three times as often as Google4. Some of these URLs are made up by the assistant.

## Terms to know before you start

| Term | Meaning |
| --- | --- |
| Status code | The number the server returns with each page, such as 200 for a page served or 301 for a redirect |
| 404 or 410 error | The code of a page not found (404) or deleted for good (410) |
| Soft 404 | A page that shows an error message or almost nothing while returning 200 |
| Permanent redirect | A server instruction (code 301 or 308) that sends one URL to another for good |
| Canonical URL | The URL Google shows when the same page exists at several URLs |
| Noindex tag | An instruction placed in a page’s code that forbids search engines from indexing it |
| Robots.txt | The file that tells crawlers which URLs they must not crawl |
| Rendering | The step where Google runs a page’s JavaScript to see what it displays |
| URL Inspection | The Google Search Console tool that shows the status of a single page in Google |

## Check the crawling and indexing steps of a missing page

After discovering a page’s URL, Google crawls it, runs its JavaScript (this is rendering) and then decides whether to index it5. When one step fails, the next ones don’t happen, so there is no point in rewriting the text of a page Googlebot can’t read.

For an important page missing from Google, ask seven questions in order. You’ll find the answers to the first six in the “Discovery”, “Crawl” and “Indexing” sections of URL Inspection6.

1

1. Does Google know the URL?

Where to look: “Sitemaps” and “Referring page”.

2

2. Is Googlebot allowed to crawl it?

Where to look: “Crawl allowed?”.

3

3. Does the server return 200?

Where to look: “Page fetch”.

4

4. Does a tag forbid indexing?

Where to look: “Indexing allowed?”.

5

5. Did Google choose this URL?

Where to look: “Google-selected canonical”.

6

6. Does the main text appear after rendering?

Where to look: “Test live URL”, “Screenshot” tab.

7

7. Does the page offer something its neighbors don’t?

Where to look: your own reading, compared with the pages already ranking.

An audit tool sorts its alerts by type without telling apart the ones that affect your important pages. **Check each alert by hand on one URL per page template (product page, category, article)**, because a template flaw repeats on all of its pages.

The seventh question is no longer a technical one. A page listed as “Crawled – currently not indexed” has passed the first six steps: the page “[Why isn’t my website showing up on Google?](https://lovelyrender.com/resources/website-not-on-google/)” covers this case.

On a Lovely Render site

In Lovely Render, the Bots tab of Statistics lists the crawlers of Google, Bing and AI tools. For each one, it counts the pages served, the redirects and the errors. Each crawler’s panel shows the URLs not found that it keeps crawling.

## Tell normal 404 errors from the ones to fix

### Tell a deleted page from a soft 404 error

Google removes from its index a URL that returns 404 or 410 and crawls it less and less1. A deleted page with no replacement that returns 404 is therefore in a normal state.

**A 404 becomes a problem when other websites still link to the URL or visitors reach it from Google.** A redirect to the replacement page lets you win back these visitors. If the broken link is on your own website, change its destination so the reader goes straight to the right page.

Google reports a soft 404 when a page returns 200 but looks like an error page, such as a product page emptied of its text. It recommends serving a real 404 code for a page not found and filling out a page that must stay online7.

### Handle URLs made up by AI assistants

In September 2025, the SEO software company Ahrefs studied 16 million URLs cited by six AI assistants. Users of these assistants landed on a 404 for 0.43% of the URLs they clicked, nearly three times as often as from Google (0.15%)4.

Some of these URLs never existed: the assistant builds them on the pattern of the website’s URLs, such as `/blog/newsletter/` on the Ahrefs blog. Ahrefs still considers the stakes limited, since assistants bring only about 0.25% of the visits to an average website4.

**Like Ahrefs, we think a made-up URL deserves a redirect only if it gets visitors and one of your pages covers its topic.** Look in your analytics for 404 pages whose visitors come from chatgpt.com, perplexity.ai or copilot.microsoft.com. With no suitable page, leave the URL as a 404 instead of redirecting it to the homepage.

On a Lovely Render site

In Lovely Render, the Advice tab of Statistics shows the card “removed addresses still receive visitors”. It lists the 404 URLs visited from another website, such as an AI assistant. The “Create a redirection” button opens the URL redirects screen with the old URL already filled in.

## Redirect a URL without losing its visitors

Google classifies codes 301 and 308 as permanent redirects, and 302 and 307 as temporary ones. Only a permanent redirect tells it that the new URL should become the canonical URL8. **When a page moves for good, redirect the old URL to the new one with a 301 code.**

According to Google, a permanent redirect loses no PageRank (the importance a page draws from its links). Google advises keeping it for at least a year and warns that the switch to the new URLs can take a few weeks or more2.

Three mistakes keep coming back in redesigns:

- redirecting all the old pages to the homepage, which Google may treat as a soft 4042;
- chaining redirects, while Google advises leading straight to the final destination2;
- leaving the redirect to JavaScript: Google doesn’t see it if the page’s rendering fails8.

Watch out

A redirect doesn’t replace an up-to-date internal link. Fix the links in your menu and your texts: visitors and crawlers then reach the new URL without an extra step.

The page on [redesigns and domain changes](https://lovelyrender.com/resources/website-migration-seo/) details the URLs to prepare before going live.

## Set the canonical URL of a page that has several

When the same page answers at several URLs, Google picks one and shows it in its results. To point to the right one, a redirect and the canonical tag are strong signals; being listed in the sitemap is only a weak signal. Redirects, canonical tags and the sitemap must all point to the same reference URL9.

Google advises against choosing the canonical URL with a robots.txt block, a noindex tag or the Search Console Removals tool. The Removals tool hides every version of a URL, the main page included9.

When Google picks a different URL from yours, the Page indexing report lists the page under “Duplicate, Google chose different canonical than user”7. **Compare the two pages before fixing anything.** Google may have preferred the other URL because of near-identical product pages, a canonical tag pointing to a redirected URL or internal links that cite the other version.

## Remove a page from Google with noindex before blocking it

The robots.txt file forbids crawling a URL without preventing its indexing. A blocked URL can enter the index when other pages cite it. Search Console then lists it under “Indexed, though blocked by robots.txt”7.

Googlebot doesn’t read a page blocked by robots.txt, so it never sees the noindex tag the page contains10. **To take pages out of the index, leave them crawlable with their noindex tag until they disappear, then block them if you wish.** Google warns that its crawler can take months to come back to a minor page10.

For a PDF or an image, you can’t add a noindex tag in the HTML code. The server then sends it with the header `X-Robots-Tag: noindex`10.

## Make the main text readable without JavaScript

Googlebot puts the page in a queue before running its JavaScript. Google still advises sending pages whose text is written in the HTML code (server-side rendering), because not all crawlers can run JavaScript5.

The crawlers of AI assistants are among them. In December 2024, the hosting company Vercel observed a month of crawler visits on its network. Those of OpenAI, Anthropic, Meta, ByteDance and Perplexity don’t run JavaScript, while those of Gemini and Apple run it like a browser3.

![Two robots in front of the same page: one reads it full of text, the other sees it empty because it doesn't run JavaScript](https://static.lovelyrender.com/uploads/2026/11/4628-ressource-referencement-technique-javascript.png)

Vercel sells server-side rendering solutions and observed only its own network, so its figures can’t be generalized. In our view, **the main text, the headings and the menu links should still be in the HTML code sent by the server.** Otherwise, ChatGPT or Claude may not read them.

To check, display a page’s source code with Ctrl+U and search for a sentence from its main text. If the sentence is missing, only a crawler that runs JavaScript can read it. In URL Inspection, the “Screenshot” tab of “Test live URL” shows the page as Googlebot displays it6.

Even for Google, JavaScript has two limits. Google only discovers links written with an `a` tag that has an `href` attribute. Removing a noindex tag with a script may not be enough. Google may skip running the JavaScript when it finds this tag in the page5.

## Also publish the content of important PDFs on a web page

Google indexes PDFs and office documents, from which it extracts the text11. A scanned PDF, made of images of pages, contains no text to extract. Put your prices and your technical sheets on pages of your website. You’ll be able to choose their title and add links to your other pages.

## Example: a wine shop that sells online

The fictional wine merchant in this example runs a store in Dijon, France, and sells about 400 wines on his website. Two months after a redesign, he lost a third of his visits from Google.

### The merchant sorts the alerts in the Page indexing report

The merchant sets aside the redirected pages and starts with the 60 product pages listed as “Soft 404”: the agency behind the redesign had redirected the pages of discontinued wines to the homepage.

### The merchant redirects each old product page to a replacement wine

He has each one redirected to the next vintage or to a wine from the same appellation. The URLs of the twelve wines with no equivalent now return 410.

### The merchant unblocks his filters for Google

The price and color filters produced 2,500 URLs listed as “Indexed, though blocked by robots.txt”. The merchant has the block removed and a canonical tag added to each filtered URL, pointing to the unfiltered category.

### The merchant has his descriptions written in the HTML code

With Ctrl+U, the merchant sees that the code of a product page doesn’t contain the wine’s description: a script adds it afterward. Google sees it, but the agency writes it in the HTML code for the crawlers of AI assistants.

### The merchant redirects a made-up URL

In the website’s analytics, two 404 pages get visitors from chatgpt.com every month: `/vins/chablis-premier-cru/` and `/livraison-gratuite/` (“free delivery”). The store sells three Chablis premier cru wines, so the first URL now leads to the Chablis category. The merchant leaves the second as a 404 because the store doesn’t offer free delivery.

After six weeks, the Page indexing report no longer shows any soft 404. The replacement pages have won back some of the impressions of the old ones, a result nothing guaranteed. The merchant doesn’t know which fix had the most effect, because he changed everything in the same week.

## Run a technical diagnosis of your website

1. In the Page indexing report, tell normal situations from problems to fix. Redirected pages, duplicates with a correct canonical URL and deleted pages with no visits need no action.
2. Inspect one URL of each page template and note the answers to the first six questions of the diagram.
3. For each “Soft 404” page, serve a real 404 or 410 code, redirect it or fill it out.
4. Remove from robots.txt the rules that block pages carrying a noindex tag, until they leave the index.
5. Use Ctrl+U to search for a sentence from the main text in the source code of each page template.
6. Redirect the 404 pages that get visitors and have a replacement. Date each fix.

## You’re done when…

Every page missing from the index is missing for a reason you chose: deleted, redirected, duplicate or noindex. The main text of each page template is in the code sent by the server. The old URLs that still get visits are redirected when a replacement page exists.

In a few weeks, the Page indexing report will show you whether the number of pages with errors is going down.

## If it doesn’t work

If URL Inspection reports no block and the page still isn’t indexed, look at its “Last crawl” date: a date before your fix means Google hasn’t come back yet. The page “[Why isn’t my website showing up on Google?](https://lovelyrender.com/resources/website-not-on-google/)” walks through the next checks.

For a drop in visits after a redesign, read the page “[How do I redesign my website or change my domain name without losing my SEO?](https://lovelyrender.com/resources/website-migration-seo/)“. For a drop with no change on the website, open the page “[Why is my traffic from Google dropping?](https://lovelyrender.com/resources/google-traffic-drop/)” instead.

If Google indexes thousands of URLs you never created, follow the page “[How do I stop Google from indexing unwanted pages on my website?](https://lovelyrender.com/resources/unwanted-pages-indexed/)“. If casino pages or Japanese titles show up under your domain name, see the page “What should I do if my website has been hacked?” to confirm the hack and clean up the website.

## Keep a record of each technical fix

A technical flaw often comes back with a redesign, a new plugin or a change of host. Note the date and the purpose of each fix: in three months, this log will tell you which one moved your pages.

The next chapter shows how to read Search Console numbers correctly, from average positions to impressions inflated by bots.

Previous chapter: [Topic clusters and semantic cocoons: the method and its limits](https://lovelyrender.com/resources/topic-clusters/)

Next chapter: [Read your Search Console numbers correctly](https://lovelyrender.com/resources/search-console-data/)

## Sources

1. ↑ Google, “[How HTTP status codes, and network and DNS errors affect Google Search](https://developers.google.com/search/docs/crawling-indexing/http-network-errors)“, Google Search Central, accessed November 16, 2026.
2. ↑ Google, “[Site moves with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes)“, Google Search Central, accessed November 16, 2026.
3. ↑ Giacomo Zecchini, Alice Alexandra Moore, Malte Ubl and Ryan Siddle, “[The rise of the AI crawler](https://vercel.com/blog/the-rise-of-the-ai-crawler)“, Vercel blog, with MERJ, December 17, 2024.
4. ↑ Ryan Law and Xibeijia Guan, “[New Study: How Often Do AI Assistants Hallucinate Links? (16 Million URLs Studied)](https://ahrefs.com/blog/how-often-do-ai-assistants-hallucinate-links/)“, Ahrefs blog, September 2, 2025.
5. ↑ Google, “[Understand the JavaScript SEO basics](https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics)“, Google Search Central, accessed November 16, 2026.
6. ↑ Google, “[URL Inspection Tool](https://support.google.com/webmasters/answer/9012289?hl=en)“, Search Console Help, accessed November 16, 2026.
7. ↑ Google, “[Page indexing report](https://support.google.com/webmasters/answer/7440203?hl=en)“, Search Console Help, accessed November 16, 2026.
8. ↑ Google, “[Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects)“, Google Search Central, accessed November 16, 2026.
9. ↑ Google, “[How to specify a canonical URL with rel=”canonical” and other methods](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls?hl=en)“, Google Search Central, accessed November 16, 2026.
10. ↑ Google, “[Block Search Indexing with noindex](https://developers.google.com/search/docs/crawling-indexing/block-indexing)“, Google Search Central, accessed November 16, 2026.
11. ↑ Google, “[File types indexable by Google](https://developers.google.com/search/docs/crawling-indexing/indexable-file-types)“, Google Search Central, accessed November 16, 2026.
