If you ever have a need to programmatically write to the .htaccess file, WordPress has a built-in function insert_with_markers to do just that. Calling that function will give you the added benefit of adding “BEGIN” and “END” markers which makes it easier to read. There’s also a sibling function, extract_from_markers,…
Month: April 2023
SSH
Read more
Living the proxy life
For local development, we use the Symfony binary which allows us to both use regular host names such as example.wip (work in progress), as well as a TLS certificate so we can use HTTPS. Very awesome. After setup, you just need to add a proxy pac file to your browser/OS…