How to track htaccess redirect?

ForumCategory: WordPress Discussion & TroubleshootHow to track htaccess redirect?
Mohammad Athar Staff asked 1 year ago
I'm using .htaccess to create custom short links but is it possible to somehow track the .htaccess redirects?   Example. mydomainDOTcom/buy mydomainDOTcom/offers   Both redirect to mydomainDOTcom/shop.html.   If I put /buy on bumper stickers and /offers on business cards is there a way I can track the .htaccess redirect source of the visit to shop.html?
1 Answers
Best Answer
Fajal Shah answered 1 year ago
The redirects will appear in your server log files. You could also assign UTM codes if you're using an analytics tracker that records those.