Category: ‘Website Development’
Posted on February 13th, 2014
A recent project required that I access data from a separate database, in a custom WordPress page template. The data also needed to be retrieved before the opening
<html> tag. By opening another database connection here, WordPress threw a fit, and failed to load the page’s menus. After hours to troubleshooting and searching for answers on countless forums, I finally found a solution…
Posted on October 21st, 2010
Are you or others receiving a 406 error when visiting your site? Most likely it is caused by mod_security, which acts as a firewall to protect web application attacks.
Posted on June 27th, 2010
We had a hard time finding a solution to redirect only certain files from HTTP to the secure HTTPS. We found all kinds of ways to redirect the entire site to HTTPS but none for specific pages only. After a few hours tinkering, a solution using the following code in a .htaccess file was found: