fabianmichael / kirby-meta

All-in-one solution to all of your SEO/OpenGraph/JSON-LD needs. ๐Ÿ‘€
MIT License
65 stars 8 forks source link

Coexist with kirby-wellknown #15

Closed qroac closed 1 year ago

qroac commented 2 years ago

I try to get my new page up and running with various plugins and I really like this one. Many thanks for the good work.

Currently I struggle with the options for robot.txt generation. For several wellknown files (humans, dnt, ...) I installed omz/kirby3-wellknown. Now, robots.txt is always served from this plugin instead of kirby-meta.

Is there any way to tell kriby to prefer kirby-meta for the robots.txt route? Or are there any plans to interact with other robots-plugins and e.g. "feed" them the required content?

For now I'll disable kirby3-wellknown and hope for a solution to get the content generated by this plugin to my robots.txt in coexistence ;)

fabianmichael commented 2 years ago

@qroac Regarding omz/kirby3-wellknown:

Is there any way to tell kriby to prefer kirby-meta for the robots.txt route?

Not directly, since this depends on the order of routes being executed. It could be possible, but that would be more of a hack than a stable solution.

You can disable robots.txt feature of my plugin fabianmichael.meta.robots. You could ask @omz13 to add a similar setting to his plugin or create a feature request for @getkirby to add an API that plugins could use to add information to robots.txt.

Or are there any plans to interact with other robots-plugins and e.g. "feed" them the required content?

As the intention of my meta plugin is to provide an all-in-one solution for metadata and SEO, I donโ€™t have any plan for interacting with similar plugins. But I could also imagine to add a hook, that could be used by other plugins for adding their entries to robots.txt instead.

fabianmichael commented 2 years ago

@qroac ๐Ÿ›Ž

fabianmichael commented 1 year ago

Closing due to inactivity