I found the answer with a little more searching. Sorry — Admins feel free to delete this question!
The answer is here
add_action( 'template_redirect', 'wpse_76802_maintance_mode' );
function wpse_76802_maintance_mode() {
if ( ! is_page( 1618 ) ) {
wp_redirect( home_url( 'index.php?page_id=1618' ) );
}
}
EXCEPT …. if there is a way to enhance this redirect so that a 301 header gets added into the mix, that would be even better.
Related Posts:
- Redirecting to home-page when saving any edited code
- Random and Erroneous WordPress Redirect
- All pages showing up as homepage on WordPress website
- https multiple redirects
- Redirect home to another page with htaccess
- How can I redirect my website’s homepage to a random blog post?
- How to redirect to home page after registration?
- How to set up a single portfolio page as home page?
- Any action in wordpress redirects me to home page
- How can I replace my primary url globally with a parked one?
- Extra Text in URL
- Redirect /home to home.php
- How do I change the home page to the registered user’s profile page
- Add new post redirection [closed]
- How to Redirect WordPress domain.com/?anyword to 404 Page?
- How do I redirect the browser to 404 page, if no posts are found in home page
- Site using static homepage, redirects (301) and removes pluses from query string
- After disabling Multisite, homepage redirects to non-existing page
- One set of Child Pages redirecting to Home page?
- WordPress Redirecting Form Action to Home Page
- How do make WordPress to let alone my static home page?
- Make category page the wordpress homepage (not blog)
- How to prevent redirect to ‘About’ after core upgrade?
- How to configure nginx to redirect requests to the uploads directory to the production server?
- Old blog/ and blog/feed/ URLs not working after moving blog to top-level via .htaccess
- Force HTTPS using .htaccess – stuck in redirect loop
- Why does WordPress automatically redirect URLs with the parameter “name=” to a different page?
- Redirect from https to http or from http to https? [closed]
- URL Redirect and Bulk Actions in wp_list_table
- Redirect too many times htacces switching to https
- Disabling the X-Redirect-By response header
- How to hide that a certain non-WordPress directory exists on the server?
- Disabling HTTPS redirection for migration
- Redirect deleted posts to category archive
- Can WordPress pass through a call to an external API and return the result directly to the client?
- Redirecting old post url to 404 in wordpress using htaccess
- How to redirect subcategories to a page?
- CNAME vs A Record for WWW – with 301 Redirects
- Handle regular expression based redirects without .htaccess
- Adding rewrite rule dynamically for search results redirecting to 404 URL
- Redirect some of the languages on a multi-language site
- How to redirect to specific url if contains specific text in url?
- Redirecting old permalink structure to new in htaccess
- WordPress redirect, output headers already sent
- Why is there a status message “302 Found” on top of the site?
- About to migrate site to new domain
- WordPress directing to Posts page (edit.php) instead of saving post
- HTML Redirect to WP pages
- Changing theme = change home page for mobile visitors?
- Redirect User on Login based on role WP 3 – Multi-Site
- production site routes to staging site after cloning
- Redirect old URL (with different post ID) to new URL
- How to redirect an old page url to the homepage
- Custom URL routes
- Delete Redirect Slug For Specific Post
- Duplicated WP site manually, now links redirect wrong [closed]
- redirecting an entire WP site from one top level domain to another
- Load function with login_redirect
- Missing domain http://./wp-… in redirects
- All URLs Redirect to Main Page
- A question about .htaccess
- Blog keeps redirecting to the contact page
- Can’t login to WordPress admin panel after changing domain to use WordPress pages as a fallback from React
- WordPress Pagination – 301 Redirect Issue
- Why do my new WordPress pages redirect to home / staging site?
- Applying ‘middleware’ to a url before redirecting? Does WP have built in mechanism for this?
- How to regenerate RSS feed URL like FeedBurner?
- How to avoid redirect 302 in wordpress to the author pages?
- ErrorDocument 410 gives me back a 302 header
- ERR_TOO_MANY_REDIRECTS when switching from good database to old database
- Redirect to /404/
- WordPress Staging site is redirecting to live and lost the child theme
- Mailjet Email Subscription + Redirect w/ Custom Template Fails
- domain redirects to subdomain
- htaccess Redirect 301 doesn’t work. How to debug?
- how can i find malware code and remove from wordpress site to stop it redirecting to hackers click view pages
- Redirect after plugin activation
- Restrict access if logged out except for homepage
- Redirect affecting development folder
- change home_url and site_url but don’t redirect to home_url and site_url on load
- How do I skip wordpress’s 404 handling?
- WordPress multisite and redirect to subpage
- My WordPress site redirects to port 8082
- wp-login.php redirect problem
- Custom, conditional redirect on logout
- International characters in slugs to redirect to
- How to Block WordPress from subdomain?
- login page not working [closed]
- Debugging a redirect loop affecting only certain pages
- WordPress redirect to splash page once a day for the first week
- after logout, get_current_user_id still holds value
- noheader on the user/frontend side
- Solution for WordPress URL structure changes and 301 redirects?
- WordPress redirect from one directory to another but exclude wp-admin and wp-login.php
- How to change Ugly link?
- How to use the HTTP API (wp_remote_get) instead of cURL?
- Redirected You too Many Times and Homepage Not Loading
- Post Migration Site Migration Redirects All Known Solutions Attempted
- Redirect all pages to a specific page of a new domain but exclude specific pages
- Redirect of specific words in URL ahead of website migration