This is currently my new robots.txt file I created with Yoast SEO:
User-agent: *
Allow: /wp-content/uploads/
Disallow: /wp-content/plugins/
Disallow: /wp-admin/
Disallow: /readme.html
Allow: /wp-admin/admin-ajax.php
Sitemap: https://www.ohiocannabis.com/sitemap.xml
Sitemap: https://www.ohiocannabis.com/news-sitemap.xml
It seems all of my crawl issues are related to images for the most part.
But for some reason when I click on “See Live Robots.txt file” in the Google Robots.txt tester, it is still populating this old robots.txt file:
Sitemap: https://www.ohiocannabis.com/sitemap.xml
Sitemap: https://www.ohiocannabis.com/news-sitemap.xml
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
I’ve verified the actual robots.txt file in FTP and it shows the updated robots.txt file that Yoast SEO has created.
So why is this “See Live Robots.txt File” option still showing the old, default file?
Shouldn’t the Allow: /wp-content/uploads/ clear up all of these image crawl issues now that I’ve added that specific Allow to the robots.txt file?
Also, is it necessary to have both of those Sitemaps? Is the news-sitemap.xml really needed? It was auto-generated by Yoast SEO when I had it create the robots.txt file.
I hope someone can help me get this fixed already, I’ve been getting destroyed with this terrible Indexing for over a year. I even get errors that my Home page isn’t Indexed!
Finally, when it comes to “Properties” in Google Search Console, I was originally told to add the following 4 Properties by someone:
https://www.ohiocannabis.comm
http://www.ohiocannabis.com
https://ohiocannabis.com
http://ohiocannabis.com
I’ve come to realize only the https://www.ohiocannabis.com had any real stats, the other 3 Properties literally had 4 crawls on them.
I did notice that my robots.txt file was only updated on the https://www.ohiocannabis.com URL, for some reason the other 3 kept the old/default robots.txt file
Could perhaps this be part of the problems I’ve been having?
I just deleted the other 3 as I didn’t think they were doing anything based on their stats and clearly seemed to be negatively affecting Indexing with the old/default robots.txt file
Why wouldn’t these 3 other Properties have their robots.txt files updated when I had Yoast SEO create a new one for me?
Should I add them back?
Sorry this is so long, but I’m really in a bad place with SEO & Indexing and it’s really been devastating to my business this last year by having very low traffic.
Thank you.
[Moderator note: Please, No bumping.