I would like to create virtual redirector for affiliate links.
In site settings I have field that create path for links (for ex. ‘out’ or ‘go’ or ‘link’) and inside review blueprint i have two fields affiliate_link and terms_link.
In templates I’m create affiliate links in this way:
<?= $site->url() ?>/<?= $site->affiliate_redirect_link_folder() ?>/<?= $review->uid() ?>
And have template redirect.php that I would like to made dynamic…
Is it possible?