#StandWithUkraine

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 AJAX for Cache Invalidation
  4. Speaking at WordCamp Norway 2013
  5. Incorrect 301 Redirects Due to a Bug in “Redirect Canonical”
  6. Smarter Cleaner Gallery
  7. Solving the Authentication and Plugin Errors After an Upgrade to WordPress 2.5
  8. PHP: header_remove

Subscribe

Get notified via e-mail when I publish new blog posts:

Blog Topics

  • Cryptography
  • Design
  • Development
  • Electronics
  • Home Automation
  • Linux
  • Meta
  • Observatory
  • Passive House
  • Publishing
  • Video Blog
  • Web Performance
  • WordPress

IndieWeb Webring

  • ← Previous
  • IndieWeb 🕸💍 Webring
  • Next →
Kaspars Dambis
Kaspars Dambis

Maker of things with passion for the web, electronics, personal finance and sustainable living. Blogging since 2007.

Kaspars Dambis
  • Blog
  • About
  • Contact
  • Latviski
  • GitHub
  • WordPress.org
  • Twitter
  • Mastadon
  • Bluesky
  • Micro.blog
  • YouTube
  • Instagram
  • Flickr

Powered by WordPress and List Theme.