[ad_1]
Hi. I am confused a bit. I tried editing my robots.txt to disallow wp_admin but now unsure of it’s location. Should I upload it to home/mysite/ or home/mysite/public_html ? Which one is the root folder?
What should be the location of . htaccess? I can see two files in two different folders: one in home/mysite and one in home/mysite/public_html. This was created by Yoast SEO plugin and maybe modified by Cloudflare. Content is same in both. Maybe I accidently drag pasted while using Filezilla FTP client. Which one should I keep?
Thank you already
[ad_2]
>*I tried editing my robots.txt to disallow wp_admin*
There’s no need to do that. The protected areas of the admin are only accessible by authenticated users.
The only htaccess file that you’re interested in sits in the webroot – typically /public_html.
Cloudflare cannot modify files on your server.