D
D
Denis99992020-07-09 16:11:12
WordPress
Denis9999, 2020-07-09 16:11:12

How to remove or change the x-robots-tag header?

This is the standard url in wp site_address/wp-json/ :
5f07170fc5640542693499.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Ermilov, 2020-07-12
@sergeiermilov

If you look at your screenshot, it is not clear why you need to change /wp-json, because it should be in noindex.
If the question is in general, then this tag can be set at the level:
1. Wordpress SEO plugin
2. robots.txt
3. at the server level
Usually and quite often in robots.txt you can find such a directive (or very similar):
Disallow: */ wp-json/*
Then look at the expediency of the ban.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question