Right way to include blog-header.php? July 13, 2022 by Tarik Billa The “right way” is to not include it at all and use WordPress provided means for AJAX in themes and plugins.