url rewriting – How To Allow Only Specific User Agent To Access an Url?

Question

Suppose this is my url: https://www.mrskt.com/sitemap_index.xml

I want to only specific user Agent, I mean only search bots like Google, Bing, Ahrefs, etc Can access that url.

And no other user Agent can access that url.

My website is on WordPress, how i can do that?

0
Mr SKT 1 month 2021-08-23T20:32:46-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse