Kaspars Dambis Kaspars Dambis WordPress, Electronics & Home Automation

Menu
  • Blog
    • Latest Posts
    • Video Blog
    • All Posts
    • Subscribe
  • Projects
  • About
    • About Me
    • Now
    • Uses
    • Reads
    • Contact
Home → Notes →

On March 27, 2025 at 13:48

March 27, 2025

Ever wanted to know the source of a redirect in WordPress and the X-Redirect-By header isn't giving you enough context?

Here is a simple must-use plugin to log all redirects to a JSON file along with the PHP backtrace of all the function calls leading up to the redirect https://gist.github.com/kasparsd/f6b6e5572b5afeabe0d26f9120df26f0

  • Previous Post

  • Next Post

Related posts:

  1. New Plugin: Mobile Redirect for WordPress
  2. Add Custom URL Redirects to Your WordPress Dashboard Areas or Login Page
  3. Use GitHub for WordPress Plugin Development
  4. Use AJAX for Cache Invalidation

Subscribe to My Newsletter

Blog Topics

  • Cryptography
  • Design
  • Development
  • Electronics
  • Home Automation
  • Linux
  • Meta
  • Observatory
  • Passive House
  • Publishing
  • Video Blog
  • Web Performance
  • WordPress
Kaspars Dambis
  • Blog
  • About
  • Contact
  • Latviski
  • GitHub
  • WordPress.org
  • Twitter
  • Mastadon
  • Bluesky
  • Micro.blog
  • YouTube
  • Instagram
  • Flickr

Powered by WordPress and List Theme.