I am developing a plugin where I need to send an activation link to subscribers.
Now I am stuck at the creation of the activation link. I want something like www.page.com/newsletter/activate?key=xxxx&hash=xxx
.
But how to create this own slug without adding a content page? This page shouldn't have any output. After activation the script simply redirects to a confirmation page. This confirmation page shouldn't be a "real" content page too but should output a small text. How to do this from a plugin?