Title: Andrew Brooks's Replies | WordPress.org

---

# Andrew Brooks

  [  ](https://wordpress.org/support/users/andybrooks/)

 *   [Profile](https://wordpress.org/support/users/andybrooks/)
 *   [Topics Started](https://wordpress.org/support/users/andybrooks/topics/)
 *   [Replies Created](https://wordpress.org/support/users/andybrooks/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/andybrooks/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/andybrooks/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/andybrooks/engagements/)
 *   [Favorites](https://wordpress.org/support/users/andybrooks/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] Mobile page not displaying correctly](https://wordpress.org/support/topic/mobile-page-not-displaying-correctly/)
 *  [Andrew Brooks](https://wordpress.org/support/users/andybrooks/)
 * (@andybrooks)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/mobile-page-not-displaying-correctly/#post-18121242)
 * I have looked at the site and I cannot see a long bar, so it might be fixed!
 * If not, I know there is a bug with 3.25+. Mobile versions of the pages show menus
   that shouldn’t be hidden for that resolution. While we wait, rolling back to 
   3.24+ might fix it for you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Elementor Website Builder - more than just a page builder] Big problem since version 3.25+ with displaying items on mobile](https://wordpress.org/support/topic/big-problem-since-version-3-25-with-displaying-items-on-mobile/)
 *  [Andrew Brooks](https://wordpress.org/support/users/andybrooks/)
 * (@andybrooks)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/big-problem-since-version-3-25-with-displaying-items-on-mobile/#post-18108685)
 * I am also experiencing this issue with menus that should be hidden on the mobile
   version appearing, rolling back to 3.24.X fixes the issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Better Robots.txt - AI-Ready Crawl Control & Bot Governance] Doesn’t change my robots.txt file](https://wordpress.org/support/topic/doesnt-change-my-robots-txt-file/)
 *  Thread Starter [Andrew Brooks](https://wordpress.org/support/users/andybrooks/)
 * (@andybrooks)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/doesnt-change-my-robots-txt-file/#post-17879773)
 * Thanks so much for your help everyone, I have it working now!
 * The issue was the .conf file for the Nginx server. To try and pay it forward,
   I have tried to write the solution as instructions for the fix.
   If you have permalinks
   enabled and still can’t get a virtual robots.txt to work, here is a fix to try.
 * Find your gnix .conf file; mine was in /etc/ngnix/conf.d called wordpress_http.
   conf & wordpress_https.conf. 
   Make a backup of these files and look for the following
   lines
 * location = /robots.txt {
   allow all;log_not_found off;access_log off;}If you have
   the above, replace it with this :I changed it to this:location = /robots.txt {
   try_files $uri $uri/ /index.php?$args;access_log off;log_not_found off;}
 * From your console, restart nginx server, with “sudo systemctl reload nginx”
 * Now check again you should get the the better-robots.txt generated robots.txt
 * What have you just changed?
   Just having the equals sign means that when the request
   matches, only these rules are performed and nothing else. When you have a robots
   file, you don’t have any issues – it just gets served with no issues. But if 
   you don’t, and are relying on a virtual one, nothing in the block lets WordPress
   handle the request, so you get a 404.
 * You can remove that block completely, and it will be handled along with everything
   else. However, it will fill up your log file with all the robots.txt requests.
   But changing it to the above suggestion WordPress will handle the request and
   not fill up your log file.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Better Robots.txt - AI-Ready Crawl Control & Bot Governance] Doesn’t change my robots.txt file](https://wordpress.org/support/topic/doesnt-change-my-robots-txt-file/)
 *  Thread Starter [Andrew Brooks](https://wordpress.org/support/users/andybrooks/)
 * (@andybrooks)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/doesnt-change-my-robots-txt-file/#post-17877608)
 * Thanks very much for your support, I still can’t get it to work.
 * I have followed your instructions, but it hasn’t worked. It looks like an issue
   with the Nginx server on my end.
   When I delete my existing robots.txt file without
   your plugin installed, RankMath doesn’t create an accessible robots.txt either;
   I just get a 404 error. This is the same as when I installed your plugin.
 * I have tried disabling rank math and just installing your plugin, but that doesn’t
   work either.
 * So, the issue is definitely my configuration; I just don’t know where to start.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Better Robots.txt - AI-Ready Crawl Control & Bot Governance] Doesn’t change my robots.txt file](https://wordpress.org/support/topic/doesnt-change-my-robots-txt-file/)
 *  Thread Starter [Andrew Brooks](https://wordpress.org/support/users/andybrooks/)
 * (@andybrooks)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/doesnt-change-my-robots-txt-file/#post-17874584)
 * Hi
 * I know I have a robots.txt file; I delete it, then try to access it and I get
   a 404 error.
 * The website is working, we are getting plenty of orders, Cloudflare validates
   IP address locations and if you are not in New Zealand, should present a managed
   challenge. If you tick the box you’ll be directed to the site without this we
   are the target of a bunch of attacks. I have moved robots.txt to not be covered
   by the geographical restrictions.
 * Are you saying RankMath is not compatible with your plugin?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] Either Name or item name should be specified](https://wordpress.org/support/topic/either-name-or-item-name-should-be-specified-30/)
 *  Thread Starter [Andrew Brooks](https://wordpress.org/support/users/andybrooks/)
 * (@andybrooks)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/either-name-or-item-name-should-be-specified-30/#post-17058019)
 * Thanks for your help. That seems to have fixed it.
    -  This reply was modified 2 years, 9 months ago by [Andrew Brooks](https://wordpress.org/support/users/andybrooks/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Breadcrumb NavXT] Either Name or item name should be specified](https://wordpress.org/support/topic/either-name-or-item-name-should-be-specified-30/)
 *  Thread Starter [Andrew Brooks](https://wordpress.org/support/users/andybrooks/)
 * (@andybrooks)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/either-name-or-item-name-should-be-specified-30/#post-17055173)
 * [https://www.dropbox.com/scl/fi/vujelmbgasfoz9c03bwjb/Breadcrumbs2.jpg?rlkey=jsdjiydhwnxyf6c59a3uno3ua&dl=0](https://www.dropbox.com/scl/fi/vujelmbgasfoz9c03bwjb/Breadcrumbs2.jpg?rlkey=jsdjiydhwnxyf6c59a3uno3ua&dl=0)
 * [https://www.dropbox.com/scl/fi/vujelmbgasfoz9c03bwjb/Breadcrumbs2.jpg?rlkey=jsdjiydhwnxyf6c59a3uno3ua&dl=0](https://www.dropbox.com/scl/fi/vujelmbgasfoz9c03bwjb/Breadcrumbs2.jpg?rlkey=jsdjiydhwnxyf6c59a3uno3ua&dl=0)
 * Google screen shots.
    -  This reply was modified 2 years, 9 months ago by [Andrew Brooks](https://wordpress.org/support/users/andybrooks/).

Viewing 7 replies - 1 through 7 (of 7 total)