I have an unusual problem with wordpress sites.
when I access the path of the http://site.tld/robots.txt it returns me the download of the file with the lines of code of the file index.php
even creating the robots.txt file it is not recognized.
Has anyone had this problem? has something related to the nginx config?
code inside the robots.txt file
* Front to the WordPress application. This file does not do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
* @package WordPress
* Tells WordPress to load the WordPress theme and output it.
* @var bool
define ('WP_USE_THEMES', true);
/ ** Loads the WordPress Environment and Template * /
require (dirname (FILE). '/wp-blog-header.php');
Thank you, if anyone can help you.