erro 404 – Google Search

Posted in: Newsmag
Post count: 312

A curious situation occurred on our website: around 6,000 sites appeared in Google Search with a 404 error. I investigated and found that they all have incorrect URLs ending in {{td_query_all_results}} {{post_cat_link}} {{post_url}}. Is anyone else experiencing this? What does this error mean and how should we correct it? See attachment. Thank you very much.

View post on imgur.com

Post count: 35449

HiThose parameters are used for AMP, and I see you are using AMP for the posts. But our developer team has set nofollow attributes for all of them, for example – https://i.imgur.com/t37qcol.png So they shouldn’t be picked up by search engines if perhaps that’s where you are seeing them. Maybe the nofollow rule is being disregarded, but I don’t think Google has made any changes about it. I will check some more, but please let me know if that is actually where you are seeing the links, or what detects them exactly.

Post count: 16

Hello,

I am experiencing the exact same issue on four different websites using Newspaper.

In Google Search Console, thousands of URLs appear as 404 errors with parameters such as:

{{post_cat_link}}
{{post_url}}
{{td_query_all_results}}

Two of my sites use AMP, but the other two do not use AMP at all, and the issue still occurs on all four websites.

These URLs are not present in the sitemap, are not indexed, and no referring page is detected in Search Console. However, whenever I start the validation process, Google rechecks the URLs and the 404 errors keep reappearing.

I have already:

Checked permalink settings

Verified the sitemap

Inspected the source code

Revalidated multiple times

The issue still persists.

Is this a known bug related to templates, AJAX modules, or internal placeholder handling in the theme?
Is there an official fix recommended by the tagDiv team?

Thank you in advance for your support.

Post count: 35449

Hi,
Usually, this situation arises if you are using the mobile theme plugin and AMP. If you are using them, please disable it, clear teh cache, and check again.
Thank you!

Post count: 16

I would like to clarify an important point: on two of the affected websites, I am not using AMP nor the tagDiv Mobile Theme plugin. However, the issue is exactly the same.

Post count: 35449

Hi,
Normally, that code is present only when the tagDiv Mobile theme is used (with amp or without it).
If you can provide a link, we can review it and determine whether this is a different situation.
Thank you!

Post count: 16
Post count: 35449

Hi,
I just checked the source code, teh structure and everything seems to be clean as it should be, without the : {{post_cat_link}} {{post_url}} {{td_query_all_results}} https://search.google.com/test/rich-results/result?id=XdbfTQ_2ROwYJ3TNMqRZ-g
Maybe the Search Console has a different day that is detecting those links.

Post count: 312

Up to this point I haven’t been able to resolve it. Could you provide feedback on this error and how we should resolve it? The 404 errors are only increasing with addressing failures. Very strange. Awaiting your response.

Post count: 312

It appears to be an update error, as we haven’t had any changes to our website – even when using AMP normally.

Post count: 312

The failures will begin to occur from 2026 onwards – specifically on January 14th.

Post count: 35449

Hi thalesbrandao,
The parameters:
{{post_cat_link}}
{{post_url}}
{{td_query_all_results}}
Exists only in one file wp-content/plugins/td-composer/mobile/header-amp.php and thsi is used only when you are using the amp plugin with the mobile theme plugins and one of the options – https://prnt.sc/Ii6EfD58TpTu but those parameters have the rel tag for nofollow therfore should not be indexed in GSC https://prnt.sc/6wyyY9Yrwk4p
Thank you for your understaing!

Post count: 312

Calin, good afternoon.

We only use the AMP option. This situation has never happened to us before. Our 404 error has been cleared. As we suggested, is it a theme bug? We cannot disable AMP because we use it. Thank you. Awaiting your response.

Post count: 35449

Hi thalesbrandao,
Is the mobile theme plugin used with AMP? And is this set only for AMP?
If so, the solution will be to disable the mobile theme plugin and use the Amp plugin alone. The code containing those parameters is part of the mobile theme plugin and is applied when the mobile theme plugin is enabled with the amp plugin.

Post count: 312

Calin, good morning. Thank you for your reply. I’m using the theme plugin and AMP. If I do the opposite, it works – disabling AMP and leaving the theme plugin enabled – since my mobile ad settings are active via the theme. I await your response.

Post count: 312

Another issue we’ve noticed is that by 2026 our entire website will no longer be able to switch from mobile to mobile mode. The option to switch to mobile mode exists in the footer of articles, but it doesn’t work – drastically reducing access to all our content since the mobile version is simplified. How can I resolve this? I’ve already tried all the options in the plugin and mobile theme, but our site still remains in the simplified version. I await a response and assistance regarding this matter.

View post on imgur.com

Post count: 35449

Hi,
Using the mobile theme and amo will display for users a simplify verion. When are used together as in your screenshot, the same simplified layout will be displayed on both mobile and amp. If you want to have the responsive version on mobile, then use the mobile theme only for the AMP (select the last option from your screenshot), then the simplified version of the mobile theme will be used for AMP and the responsive version for mobile.

Now to stop the parameters from appearing anywhere, there are 2 options: stop using amp or edit the file wp-content/plugins/td-composer/mobile/header-amp.php (most users have given up on amps these days, as they are no longer needed as they were in the past)

Thank you!

Post count: 312

Calin, good evening. This 404 error is only increasing in Google Search. One solution is to effectively edit wp-content/plugins/td-composer/mobile/header-amp.php to include nofollow parameters? A curious situation is that this error has never happened to us over several years – and with the increase reported by Google, we are concerned about our site’s ranking being lowered in the search engine. Is this a theme update issue?

I can edit the file directly from WordPress; could you guide me on how to do it?
Thank you.

View post on imgur.com

Post count: 312

situation started on 19/02.

Post count: 35449

Hi,
This is not related to the theme updates, the file was made in 2021, and the last edit was in 2022 – https://prnt.sc/QCO_ijN0bNjc, so if the problem appeared only now, it was related to something else if the problem started just 19/02, maybe the amp was used without teh tagDiv Mobile theme plugin and only after your last update you also installed the tagDiv mobile theme to use it for amp?
Thank you!

Viewing 20 posts - 1 through 20 (of 20 total)
You must be logged in to reply to this topic.