Install SSL Via cPanel a Visual Guide

The first step in getting an SSL setup on a server is to generate a certificate signing request (CSR) Now you will need to get this put into your certificate authority so they can generate you a certificate. I have GoDaddy so I’ll include instructions for that one, start at the certificate page. In addition,…

WordPress Replace Core Files

There are many reasons why you might need to replace core files of your WordPress installation such as a broken set of core files, needing to rollback an update, a manual WordPress version update, replacing compromised files, and so on.  Here is how you can do that. First download the version you want from here https://wordpress.org/download/release-archive/…

When Bots Attack

Reports show that over half of web traffic is actually created by automated programs. Over half of this bot traffic is estimated to be malicious. Spammers, hackers,  and brute force login attempts are commonplace and there are many ways to combat against them. Honeypot This method is less intrusive and is fairly effective way of…

Connection String Locations Reference

Connection string file location relative to the applications install directory, and the example connection information we will use is exampleuser, exampledbname, examplepassword, and localhost. WordPress File: /wp-config.php Example: define(‘DB_NAME’, ‘exampledbname’); define(‘DB_USER’, ‘exampleuser’); define(‘DB_PASSWORD’, ‘examplepassword’); define(‘DB_HOST’, ‘localhost’); Drupal File: /sites/default/settings.php Example: $db_url = ‘mysql://exampleuser:examplepassword@localhost/exampledbname’; Joomla File: /configuration.php Example: public $host = ‘localhost’; public $user = ‘exampleuser’;…

Enable SSL on WordPress Site

Assuming you have already purchased an installed the SSL certificate on the hosting, there are a couple ways to get your content so that it redirects to and shows something like this  By far the easiest way to get this working is by utilizing a plugin that will add the rewrite rules and attempt to…

WordPress: Fun with Shortcodes

This can be handy for things that you want to show many times on your site like if you want to add a contact form or a piece of embed code from a website for newsletter sign up, bar graph, or anything like that. In your functions.php file (hopefully within a child theme) add your…

Adding A New WordPress User Manually

Access Your Database   phpMyAdmin is normally what you will use to access your database this button is normally located on your control panel’s main page. Execute this query replacing the values with your own data Select your database on the left and click the SQL tab at the top to run a query on…

PHP Form Mailer

A typical contact form consists of two things, an HTML form and a server side script to send the mail. Here is an extremely generic form: <div id=’formcontainer’> <form method=’post’> Full Name: <input type=’text’ id=’fullname’ name=’fullname’ /><br> E-Mail: <input type=’text’ id=’email’ name=’email’ /><br> Message: <textarea id=’message’ name=’message’></textarea><br> <input type=’submit’ value=’Send Message’ onclick=’courierRun()’ /> </form> </div>…