WordPress behind HAproxy

I found your post by looking for a fix similar, I have haproxy set up and I’m trying to install wordpress on a backend server as well. I found this page: https://www.wpbeginner.com/plugins/how-to-fix-the-mixed-content-error-in-wordpress-step-by-step/ that details some HTTPS settings you can change in the wordpress settings that should fix it. For haproxy looking at your config you … Read more

Custom fields disappearing when a custom post type is assigned

I ended up solving this on my own and thought I would come back to show my solution. On my taxonomy page I needed to get the current taxonomy term like so: <?php $term = get_queried_object(); if (get_field(‘subtitle’, $term)) { ?> <p><?php the_field( ‘subtitle’, $term )?></p> <?php } ?> Here is the documentation page: https://www.advancedcustomfields.com/resources/adding-fields-taxonomy-term/

How to send HTTP_POST and receive results

https://www.modelaircraft.org/membership/verify is an HTML form, but it makes a AJAX request to https://www.modelaircraft.org/membership/verify?ajax_form=1&_wrapper_format=drupal_ajax to actually get the data. So, it’d be ideal to make a request directly there instead. I don’t think there’s a practical (and possibly TOS-compliant) way to do that, though, because their form generates a form_build_id NONCE, and the handler validates it. … Read more