Transferring Wordpress to a local instance for development and testing Install PHP Composer https://getcomposer.org/download Install wp-cli composer global require wp-cli/wp-cli-bundle apt-get install less Run search and replace cd /var/www/html # or whatever your...
IT Tips
Turn off Microsoft Account Nag
Settings => System => Notifications => Scroll to "Additional settings" and uncheck these three options: Enterprise Only Seems like this won't work on Windows 11 Pro as the policy explicitly mentions "Note: This setting only applies to Enterprise and Education...
What is my IPv4 and / or IPv6 Address?
https://toggen.com.au/ip.html
Create a swap partition on ephemeral storage on Azure VM
My VM has an 8G ephemeral volume and it seems to be wasted so why not put the swapfile on there You need the cloud-init service: sudo systemctl is-enabled cloud-init.service enabled The instructions with a couple of options are here:...
A Form that sends email from WordPress without setting up Mail Relay
With Jotform you can add a form to your Wordpress posts/pages and the post data and sending of the email is handled by Jotform servers instead of sending the email down to to /usr/bin/sendmail, using PHP's SMTP mailer or another Mailer plugin. https://www.jotform.com
Adding a WordPress Admin User via SQL
Using MySQL CLI or MySQL Workbench USE yourwpdb; # remember to take into account the custom table prefix if you have one # e.g. 7jhdy66N_ is a custom table prefix and replaces the default wp_ prefix INSERT INTO `7jhdy66N_users` (`user_login`, `user_pass`,...
Note to self avoid Bittitan
Reasons The knowledgeable original core team isn't there to respond to support requests. When contacting support you get regurgitated AI responses The online help docs used to be good but now aren't explicit about what the product can do causing confusion, or...
ssl_stapling warning when running nginx -t
nginx -t nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/etc/letsencrypt/live/example.com.au/fullchain.pem" nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate...
Generate a valid SSL configuration for your webserver
https://ssl-config.mozilla.org
Clear interface counters on Cisco Catalyst Switch
# clear all clear counters # clear individual clear counters gi0/13