You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was desperately trying to find out why on every index request of google a lot of my websites gave an error (5xx) ?!?
Indeed the pages were shown correctly in any browser but nonetheless google could not read them correctly (indeed some web-sniffer neather)
By chance I found that the bot requested .txt.twig instead of .html.twig (still don't know why). And the chance was even bigger when I found that issue on git (#2337) where the solution seemed to be to adjust the files-array in the system-config.
Now I suppose this is not only happening to me (people check your webpages on google webmaster even if they are almost indexed - mine were but by chance I rechecked and was confronted to the problem)!!!
And maybe the Grav-Team could find us a real fix instead of having to change all the system configs of all my websites!!!
@rhukster if you need more details about the problem, just tell me, I will provide them.
The text was updated successfully, but these errors were encountered:
I've decided to use a new function that will always ensure the list is ordered with html/htm first. I only found 2 occurences of this value being used, both within Grav core, so should be fine for future updates. Please test.
I was desperately trying to find out why on every index request of google a lot of my websites gave an error (5xx) ?!?
Indeed the pages were shown correctly in any browser but nonetheless google could not read them correctly (indeed some web-sniffer neather)
By chance I found that the bot requested .txt.twig instead of .html.twig (still don't know why). And the chance was even bigger when I found that issue on git (#2337) where the solution seemed to be to adjust the files-array in the system-config.
Now I suppose this is not only happening to me (people check your webpages on google webmaster even if they are almost indexed - mine were but by chance I rechecked and was confronted to the problem)!!!
And maybe the Grav-Team could find us a real fix instead of having to change all the system configs of all my websites!!!
@rhukster if you need more details about the problem, just tell me, I will provide them.
The text was updated successfully, but these errors were encountered: