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 […]
Code Snippets
Sharing our WordPress and Genesis code snippets.
Remove Blog Page Settings from Genesis Theme Settings
<?php add_action( 'toplevel_page_genesis_settings_page_boxes', 'lc_remove_unwanted_genesis_metaboxes' ); /** * Remove the blog page settings metabox from the Genesis Theme Settings * Desired if following the suggestion by Bill Erickson to not use the Blog page template * that comes standard in the Genesis Theme * * @link http://www.billerickson.net/dont-use-genesis-blog-template/ */ function lc_remove_unwanted_genesis_metaboxes() { remove_meta_box( 'genesis-theme-settings-blogpage', 'toplevel_page_genesis', 'main' ); […]