How do I use the roots-rewrites plugin

I want to use the roots-rewrite plugin.

I’ve got the nginx config working properly, but I don’t know what the right way is to include the roots plugin.

It’s just a normal WordPress plugin. So upload it to plugins and activate. You may also need to visit the permalinks page for the rewrite rules to be flushed.

Oh, I hadn’t considered that it was an actual WP plugin.

I ended up copying the contents of plugin.php to roots’ lib/custom.php and that had worked. I’ve now done it as a WP plugin.

Thanks.