I'm setting up Twitter Cards for my website. https://dev.twitter.com/docs/cards
We have a custom short url that our tweet buttons post which redirects to a SEO friendly url.
My question is, do I need to add the metadata markup on both the redirect page and the final page?
I am using PHP's header:location(); to redirect to the SEO friendly page.
Thanks for any input!
No, redirected URLs are followed automatically by Twitter, so you only need to integrate Twitter Cards on the permalink:
See here (using a bit.ly URL to a 500px page with Twitter Cards integrated):