Hey @aelius32,
Thanks for reaching out.
What other plugin are you using that is conflicting with AIOSEO?
We’d love to take a closer look to see if this is something we can resolve for you.
Let us know!
Hi,
I use “XML Sitemap & Google News”
Plugin url: https://wordpress.org/plugins/xml-sitemap-feed/
Source here: https://github.com/RavanH/xml-sitemap-feed/blob/master/xml-sitemap.php#L137
It is a little bit modified and the robots.txt is in DB. I have tried to disable the sitemap in Settings -> Tools (AIOSEO) but without success.
My robots.txt looks like this:
## Notice: Crawling Brand_Name is prohibited unless you have express written permission
Sitemap: https://site-example/sitemap.xml
Sitemap: https://site-example/sitemap-news.xml
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
After update AIOSEO to v4.x:
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Maybe there is a function to entire disable the robots.txt from AIOSEO. In fact, I can create a static robots.txt (file) to avoid this. But this is not a elegant solution π
Thank you
-
This reply was modified 5 years, 4 months ago by
aelius32.
-
This reply was modified 5 years, 4 months ago by
aelius32. Reason: adding more info and formatting the text
-
This reply was modified 5 years, 4 months ago by
aelius32.
-
This reply was modified 5 years, 4 months ago by
aelius32.
Can you disable tools? I don’t want robots.txt or .htaccess editing through plugin admin.
@aelius32,
Thanks for that information. Our developers will look into this shortly to see if we can find out what exactly is happening here.
AIOSEO definitely shouldn’t be altering your existing robots.txt functionality so we will get this sorted as soon as possible.
Thanks for your patience!
@stevenb1966,
There isn’t a way to currently disable the robots.txt/.htaccess editor pages, however these are restricted to Administrators only.
I’ve added this to our issue tracker so our team can take a closer look.
We’re getting the same “error” although we enacted real cron on purpose. Your plugin is flagging it as an “error”.
@wafwaf,
I’m not sure I completely understand the error you are getting. Can you paste the text of the error message here so I can further debug?
Facing a similar issue. Robots.txt now has additional lines of code to disable Twitterbot. How can I remove those lines? There is no easy text editor.
https://wordpress.org/support/topic/robots-txt-file-now-blocks-twitterbot/
@tmrg,
Do you have any custom rules added in our Robots.txt editor?
If not, then the rules are most likely coming from another plugin or your theme.
Can you try deactivating other plugins to see if those rules disappear?
Have replied in the original post. Thanks!
-
This reply was modified 5 years, 4 months ago by
tmrg.
Hey @aelius32,
Thank you for your patience.
I’ve been able to reproduce and fix the issue. The fix should be included in our next update (4.0.10)! π
– Arnaud
Thank you. I will check π
Have a great day