Force All set_url_scheme URLs to ‘https’
This was another fix that we needed to pursue when working with a site using a reverse proxy with WordPress. The problem occurs since the originating site for the reverse proxy cannot be secured with...
View ArticleFilter Genesis Post Info for Post Types Without an Author
Problem Genesis Post Info is the information about the post (post date, author, comments) that typically displays just below the title on your posts. If you have a Post Type that doesn’t support an...
View ArticleWPENGINE’s Common Plugin Error Code Showing up on the Front End
Just posting a quick fix in case others bump into this or we need to fix a site again 🙂 We had a strange case of the below code showing up on a front end page of a WPENGINE site…...
View ArticleWordPress Conditional: “has_body_class()”
Was recently working on a new post layout for a site that we’re wanting to do some A/B testing for before shipping out the feature for the entire backlog of posts. Once we implement, there may be a few...
View Article“Switch To User” Link on WooCommerce Order Details
The User Switching plugin is a great way to quickly see how Users at different access levels will interact with your site. It’s a necessary plugin for most development environments. (it also fits into...
View ArticleUpdating A WordPress User Password – MySQL
When setting up new versions of live sites on your local machine, it’s easiest to migrate the entire database and dump it into your new install. We love using WP Migrate DB for this task. For local...
View ArticleMaking a Redirect Work with Capitalization on WPENGINE
A client recently wanted to have a vanity URL redirect created. I had created one like https://limecuda.com/awesome-wordpress-hosting/ However, they wanted to have a URL like...
View ArticleUsing WP-CLI to search-replace and Remove .html from End of URLs
Scenario: we were migrating a WordPress site from one domain to another. The blog posts all ended in .html which we wanted to remove for cleanliness and SEO. We created this code in WPENGINE to handle...
View ArticleRegex Redirect Rule to Remove Blog from Post URL but Keep Pagination
This is a common site migration redirection issue. We want to change the WordPress blog posts from having .com/blog/post-name-here/ in the URL to the single post URL being just .com/post-name-here/ But...
View ArticleUsing theme.json settings in your custom Gutenberg blocks
Utilizing the theme.json file for customizing your WordPress site is a powerful way to enhance the user experience for those managing content within Gutenberg. We can access these settings within our...
View Article