I have extended this index.php (above only for resources) to the case of Keywords. I have commented inside the file, in English, what I have done.
See attached index.php.

 
Attachments