How to track htaccess redirect?

Share This Post

ForumCategory: WordPress Discussion & TroubleshootHow to track htaccess redirect?
Mohammad Athar Staff asked 11 months 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 11 months 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.

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

8 Best Free Soovle Alternatives
Keyword Research

Soovle – 8 Best Free Alternative Tools

Created in 2008, Soovle is a search engine that aims to make search more efficient and user-friendly. It does this by providing keywords from a

7 Best Free Keyworddit Alternatives
Keyword Research

Keyworddit Tool – 8 Free Alternatives

In SEO, keywords are everything. And finding the right ones can be a real challenge, especially if you’re targeting a specific niche. But what if

Do You Want To Boost Your Business?

drop us a line and keep in touch