Go Live Checklist and Testing

These are the tasks that should be performed when we are moving code from the dev site to the live site: 1. Put up maintenance page on live site: – Use .htaccess file to show everyone the maintenance page except us. in this case, the IP addresses would need to...

Copying Live to Dev

Some tasks to do after a migration from live: Run Better Search Replace for: www.biopac.com -> dev.biopac.com (or whatever dev URL currently is) @biopac.com -> @dev.biopac.com Update recipients in CF7 forms to info@dev.biopac.com Update Woo email recipients...

AJAX Pricing

Biopac loads pricing data via AJAX to allow cached pages to display the correct prices based on a user’s location and/or user info. There are also tags around the price outputs that tell Google to not index the prices. Most of the functionality is contained in...

Caching

The two main caching systems are Cloudflare and WP Rocket. Cloudflare is the first layer of caching, and is what most customers will get when they visit any public pages. There are also some custom caching elements to make things even faster. Logged-in users are...

Video Insertion

Videos are implemented on multiple content types throughout the site.  Here are some of the implementation methods, organized by content type: Scripts In the editor, add the YouTube video id in the Script Information section. There can be only one video id per script,...

Contact Forms

All contact forms on biopac.com are set up using ContactForm7. There are mutliple customizations in the biopac-custom plugin, generally in the files cf7.php and cf7-module-querystring.php files. Many of the customizations are for routing the emails to a specific...

Redirects

There are several layers of redirects that we have setup. This should be the order in which they run: 1) .htaccess redirects. These include very high-level settings such as redirecting http to https and pointing certain URL formats to the WP application to be...