2
I would like to shorten a URL of my Wordpress site as follows:
www.meusite.com/?utm_source=FONTE&utm_medium=MEDIUM&utm_campaign=CAMPANHA
for something like
www.meusite.com/?urlencurtada
Where the ?urlencurtada
will receive the entire parameter of ?utm_source=FONTE&utm_medium=MEDIUM&utm_campaign=CAMPANHA
The reason for this is that I want to share links on my hidden site that extensive amount of Analytics variables to a nickname that runs them when called.
example as I wish you to stay:
www.meusite.com/umlinkquepassaseguranca/?urlencurtada
www.meusite.com/?urlencurtada
www.meusite.com/umamateriaLimpanaURL/?urlencurtada
www.meusite.com/um-artigo-com-endereco-enorme/?urlencurtada
so it’s gonna get better than something like:
www.meusite.com/um-artigo-com-endereco-enorme/?urlencurtada
instead of:
www.meusite.com/um-artigo-com-endereco-enorme/?utm_source=FONTE&utm_medium=MEDIUM&utm_campaign=CAMPANHA
The goal of this is to track while maintaining the elegance of the url. This will influence the sharing of the same, and the security that will pass to those who see them..
Perhaps you can focus more on the question by checking these two tags in wp.se: endpoints and url-Rewriting. The problem is that you now have an answer and if you change the question you cannot leave the answer invalid, if it happens you have to create a new question.
– brasofilo