Another Server Error 5xx on Search Console
-
First, its a small simple site with 15 pages that are all submitting and indexing correctly.
The issue is that Search Console is also trying to index .php and other files inside wp-includes and wp-content and that is causing a Server Error 5xx. I tried adding a .htaccess file in the wp-includes folder with:
<FilesMatch "\.(php|css|js)$"> Header set X-Robots-Tag "noindex" </FilesMatch> Header set X-Robots-Tag "noindex"
That didn’t work.
How do I stop Search Console from trying to index these files?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Another Server Error 5xx on Search Console’ is closed to new replies.