This is what I have found as the ideal format for redirecting a single page with a Permanent (301) Redirect in WPENGINE. Source ^/url-path-here/?$ What this does is… ^ means that this is the beginning of the URL ? will let this apply whether there is a trailing slash or not $ forces the redirect […]
Code Snippets
Sharing our WordPress and Genesis code snippets.
Global Site Redirect to Equivalent URLs on WPENGINE
Here is a good way to globally redirect an entire site from one domain to another and preserve the site paths. originasite.com/here-is-a-path/ would be redirected to finalsite.com/here-is-a-path/ Source: ^/(.+) Destination: https://www.finalsite.com/$1 (or similar if there is another path like /blog/ you want this to go after) Further Reading and Tools Redirect Checker – useful […]
Remove Blog Page Settings from Genesis Theme Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters <?php add_action( 'toplevel_page_genesis_settings_page_boxes', 'lc_remove_unwanted_genesis_metaboxes' ); /** * Remove the blog page settings metabox from the Genesis […]