I am trying to delete a disallow
condition from robots.txt
file. This is not located in root
or /pub directories
.
I can't change it from admin panel because seems like Magento 2.3.0 has a bug on theme edit page.
Thanks
magento2.3robots.txtseo
I am trying to delete a disallow
condition from robots.txt
file. This is not located in root
or /pub directories
.
I can't change it from admin panel because seems like Magento 2.3.0 has a bug on theme edit page.
Thanks
Best Answer
It seems your Nginx or Apache is set differently. Try locating the file in var directory. If you have SSH access, run below command to see if there is a robots file on server.
Check if there is a robots file on server
locate -c robots.txt
If the result found is greater than 0, it means the file exists on the server. Next, you can run below command to find the location
locate robots.txt