This is probably going to have a few additions to it, but let’s just start with making the site admin area force https://. To do that, open wp-config.php and this towards the end of the file: define(‘FORCE_SSL_ADMIN’, true); No need restart anything, just save and reload your admin page
Category Archives: tips
Incorrect wifi password in iOS
My kids are always playing in areas of the iPad or iPhone that they really shouldn’t be. Unfortunately Apple have never allowed us to have a truly restrictive setup for kids in this way. Every now and then they muck up the wifi and have tried connecting to someone else’s wifi and then they can’t …
changing hostname in ubuntu
I cloned a virtual server and late realised they had the same hostname. No problem. change the hostname in /etc/hostname: sudo nano /etc/hostname change the hostname in /etc/hosts: this file will contain localhost and your old hostname. eg, 127.0.0.1 localhost 127.0.1.1 <new-host-name> edit this file to suit. Finally, change the hostname in the current session: …
symbolic links in linux and Ubuntu
I always seem to have a tough time getting symbolic links right and often finding myself either Googling them or running test link after test link until I nail it. Normally I follow the mantra: command {something} {somewhere} such as: mount /dev/sda1 /media/mydrive /dev/sds1 being the “something” and the /media/mydrive being the somewhere But with …
Adding additional IP Address to ethernet interface
Scenario: You have several devices within your network, you’ve changed the address range for the network but you’ve forgotten to change one in particular. It’s easier to log into the device than to physically attend to it (it may be headless, it may not be in your immediate vicinity, or you’re just to lazy to get out of your chair to do it.
using variables on the command line
I find I’m always repeating certain command lines with subtle changes. If the changes can be predicted, why not use a variable instead? Here’s how:
sudo please
I stumbled across this alias quite a few months ago, but it was under a different name then. I wanted to find it today and Google searches brought up a whole heap of malicious finds on it, aimed at targeting the unsuspecting newbie to linux. Obviously there are some very dangerous linux commands and so …
Youtube embedded videos in WordPress not working
You’ll notice above that there is a youtube URL on the first line… it hasn’t embedded within the post. UPDATE 2015-12-10: it’s working now, is it a WordPress 4.4 thing? I have disabled a LOT of plugins for the moment, I’ll come back and revisit this in the next couple of days. I have spent …
Continue reading “Youtube embedded videos in WordPress not working”
WordPress media library limited to 10MB
Have you ever noticed this in your blog? It’s never been there before, but it appeared in the last day or two. At the time I wasn’t sure how or why. It’s my blog hosted on one of my web hosting accounts, and I have no shortage of space. So why was I getting this …
WordPress MultiSite & sunrise.php
Are you getting the above error message as well? After doing a fresh install and enabling multi-sites I couldn’t see the Domain Mapping and Domains sub-menu options under Network Admin / Settings. I loaded up my trusty editor and confirmed define(‘SUNRISE’, ‘on’ ); was in fact in the file. It was slightly higher than where …