Divi Accordion Customizations

So when it comes to Divi Accordion I didn't like how the first one was always open and there wasn't a way to close one without opening up another one.  So I came across the following code to accomplish what I was looking for. Here is the Javascript needed to give...

Two Google Analytics to Track Too

Here is a sample code of how to send data to two different Google Analytics accounts and not have it be sending twice to the same account. <script> (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject']=r;i[r]=i[r]||function(){...

Name, Address, and Phone Number (NAP) Schema

Here is an example of what to put in for a NAP Schema <div itemscope itemtype=”http://schema.org/LocalBusiness”> <p itemprop=”name”>COMPANY NAME</p> <p itemprop=”address” itemscope...

HTTP and HTTPS w/ www Redirect via .htaccess

So every now and then I run into an issue where I need to setup redirects for addon domains.  Here is one method that has always worked for me.  Adding it in this way allows for https and non http and also handles non-www and www to redirect to the www.newdomain.com...

5G Blacklist 2013 by perishablepress.com

This is something I came across on perishablepress.com was a way to help protect your website though the .htaccess file. # 5G BLACKLIST/FIREWALL (2013) # @ https://perishablepress.com/5g-blacklist-2013/ # 5G:[QUERY STRINGS] RewriteEngine On RewriteBase / RewriteCond...