Wordpress LScache Plugin: guest.vary.php
Hi there! I got a notification from Google Search Console stating that this page is soft 404 and I need to fix it. The url: /wp-content/plugins/litespeed-cache/guest.vary.php Im using the following plugins: Elementor GenerateBlocks MailerLite ? Signup forms (official) Pretty Links Rank Math SEO Unlimited Elements for Elementor UpdraftPlus ? Backup/Restore WPForms Lite Im using Astra theme & Astra starter templates. Could you please help me out? The url /wp-content/plugins/litespeed-cache/guest.vary.php takes me to a blank page with only 2 characters (kindly check the link below). https://ibb.co/3kpTbs1 1.) If you request guest.vary.php remove all your cookies first and you will see more than only 2 characters. 2.) guest.vary.php belongs to Guest Mode and normally Google doesnt care about missing sources and you could ignore it. You dont have any disadvantages if you ignore it. 3.) If you still want to have it solved, you have to make changes to the .htaccess. Add this code on top of your .htaccess: RewriteCond % REQUEST_URI guest_vary.php [NC] RewriteRule ^. $ - [ENV=NOINDEX:true] header set X-Robots-Tag noindex,nofollow,noodp env=NOINDEX This code tells Google that he should try to index the requested source and should not follow it. ####################################################### If Google still complaints it then add this additional code to your .htaccess: This code changes the status code from 404 to 410 if (only) Googlebot tries to request guest.vary.php. 410 tells Google that the requested source is not found and will never be available again. If status code 404 is set Google thinks the requested source is temporary not available. RewriteCond % HTTP_USER_AGENT Googlebot [NC] RewriteRule guest.vary.php - [G,L]