Today, I am going to show you how I created a custom URL for our GIDBlog Youtube channel using our own gidblog.com domain name.
I develop my web sites from more than 1 computer typically. So, in the case of all my web sites developed with WordPress, I need to have a local copy of the
wp-content/uploads folders on each development machine if I want to test anything for my web site locally — on my laptop, for instance — before pushing it back out to the web server.
FYI: Computers, laptops and servers I use are all powered by Linux.
Also, because Certbot can be used to manage Let’s Encrypt certificates for domain names hosted elsewhere, there is no requirement for the system running Certbot to have a web server like Apache/httpd running (for domain verification purposes).
Since the recent upgrade to gidblog.com, this web site is currently being hosted by various Docker containers. One of the Docker containers used is, of course, one derived from a Docker image like php:7-fpm-alpine.
The Google AdSense Auto Ads ad code is only a single line long, so it was unnecessary to get overly complicated with the plugin or PHP code.
I will show you how I inserted Google Analytics tracking code to this web site today.
I chose to write a WordPress plugin to accomplish this task but since I only manage 2 WordPress sites, I didn’t develop it with a lot of bells and whistles.
Creating a new (Yii) controller and implementing access control for it with the yii-user extension, I got this PHP warning/error today:
Today I sat down to modify the permalink structure for this web site. The URLs for this blog used to include the
/YYYY/MM/ date parts in them, and until recently, I never really gave them much thought except to think that it was sometimes interesting.
I was attempting to get the Yii Framework yii-user extension working for a test web site earlier today when I got this fatal error / exception message:
If you ever need to redirect all your subdomains to a main subdomain like www, here is a method for you to easily accomplish that. I kept these notes from when I wanted to implement it for my own site: www.gidforums.com.