-1

According to Google Search Console Live Test on https://www.energycouncil.com.au/ returns text that does not exist on the viewable website.

enter image description here

enter image description here

Why is completely different source returned when using the Google Search Console with a Live Test?

Petras
  • 4,686
  • 14
  • 57
  • 89
  • I’m voting to close this question because, from the tag: SEO questions are off-topic. Only programming-related SEO questions are acceptable on Stack Overflow. Non-programming SEO questions should be asked on Webmasters.SE at https://webmasters.stackexchange.com. If someone has directed you here to read this warning, go back and delete your question. – Rob Oct 21 '22 at 09:26

1 Answers1

0

I worked it out.

Code had been injected into a source code file that redirects the site if it is a website indexer. Ingeniously, this code did not do anything for over a year so I didn't see the issue as no files appeared to be recently modified.

To find the issue, download the live site and search it for "redirect"

Petras
  • 4,686
  • 14
  • 57
  • 89