Friday, September 24, 2021

Disallowing /wp-content/ for users browsing but not for Google to index files, how to manage?

Has some confusion related to /wp-content/ & other directories in wordpress

Talking about /wp-content/, how to deal with it i. e How to protect from hackers/users browsing & allowing Google to index files like img, pdf effectively?

Blocking via robots. txt wont allow google to index images, files etc & using 403 won't allow anyone user/Google to see it either

I hope I am clear😅

How to deal with this, kindly let me know

submitted by /u/Virtualsure
[link] [comments]

from Search Engine Optimization: The Latest SEO News https://www.reddit.com/r/SEO/comments/puk5fp/disallowing_wpcontent_for_users_browsing_but_not/>

No comments:

Post a Comment