initbiz / seostorm-plugin

SEO Storm - ultimate SEO tool for OctoberCMS
MIT License
25 stars 14 forks source link

Robots.txt not available in multisite #76

Closed PubliAlex closed 3 weeks ago

PubliAlex commented 1 year ago

Hello,

Lighthouse return me an error about invalid robots.txt file in a multisite installation.

I have website in 2 languages, using multisite feature of october cms 3.x

https://www.mywebsite.com/fr https://www.mywebsite.com/en

The robots.txt is accessible in this url : https://www.mywebsite.com/robots.txt

But I get a 404 error when I consult these urls : https://www.mywebsite.com/fr/robots.txt https://www.mywebsite.com/en/robots.txt

I think, in order to make lighthouse happy, that the robots.txt file should be accessible even when using language prefix.

Best regards,

tomaszstrojny commented 3 weeks ago

Hi @PubliAlex,

We'll fix that in the upcoming version 5 of SEO Storm.

Thanks for using our plugin.

Cheers,

Tomasz