CommunityCategory: WordPress Discussion & TroubleshootHow to track htaccess redirect?
62f9b272b3772c279da3cb2c5e9a8a4c?s=48&d=mm&r=gMohammad Athar Staff asked 3 weeks 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

?s=48&d=mm&r=gFajal Shah answered 3 weeks 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.

Your Answer