Hook for plugin to show content for certain urls

@SamuelEth is right, creating a page to handle this (with rewrites) could be the way to go.

Another alternative would be registering a custom post type of my-plugin(with the admin UI setting off since you don’t want user access to it)…

…and dynamically detecting and handling calls to that, the advantage being the rewrite is done for you somewhat. Because of that you can probably hook in to check the query is of your custom post type, and if so modify the query and/or output to point to generate content you want.

404 Not Found

Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.