The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
It’d be great to have a @frontity/robots package where people can configure their robots.txt file their Frontity settings.
User Stories
As a Frontity project developer
I want to configure my robots.txt using the settings
so that I can configure different robots.txt for each site from the comfort of my settings
Hi, @luisherranz! I really prefer to have more flexibility to write my own rules in robots.txt. Maybe for me makes sense just copy robots.txt file to the build directory.
Will using the frontity.settings.js file to add the content of your robots.txt file limit your flexibility? If so, could you explain how so we can improve the design?
The main problem with the robots file is that Frontity supports multiple sites, and maybe people need different robots.txt for different sites.
1 Like
christian.nascimento5
Hi @luisherranz!
I think more about after sent the message For me makes senses to have robots.txt configured with frontity.settings.js because it’s make easier to create the file for multiple sites.
luisherranz6
Awesome, thanks for the feedback @christian.nascimento! Really appreciated