Redirecting Visitors to Maintenance Page in WordPress without a Plugin

How To Redirect A Page In WordPress Without A Plugin
The problem is that those pages don’t even exist on your site! Or they used to exist at one point, but not anymore. Google unfortunately didn’t get the memo and still sends visitors to your non-existent page. What do we do about it? The best thing is to use a 301 redirect to send users to another page that gives them what they’re looking for. If it doesn’t exist, create it! Obviously that page is doing something right by getting clicks in the SERPS. You need to capitalize on it.
How to Redirect Visitors to a Maintenance Page in WordPress
One of the most frustrating moments a visitor will have is when their favorite website is down for maintenance. It is a good idea to announce it ahead of time, if possible. Use social media accounts to spread the word to your followers. It is also good policy to try and aim for maintenance during off-peak hours. Every time your website is unavailable, you are losing money. Minimize this by avoiding downtime during peak hours.
How to Set WordPress Website in Maintenance Mode / Under Construction Mode
Maintenance mode tells Search Engines that website is temporarily down (HTTP 503) and will be back after some specified time. This way search engines leave the site uncrawled and set a crawl delay. If you don’t implement maintenance mode in a  proper way, your website pages may return a 404-not-found error to search bots. 404 protocol tells search engines that the crawled page is either lost or removed and search engines instinctively remove that page. Once removed, it may take a long time for search engines to re-index the page.
WordPress.org
Users whose IP addresses match those specified in the settings page can view the site normally. Users who do not have IP access are directed either you a WordPress page (which you pick), or to any external url.
WordPress.org
Chinese (Taiwan), Czech, Dutch, English (Australia), English (Canada), English (New Zealand), English (UK), English (US), French (France), Galician, German, Japanese, Persian, Polish, Portuguese (Portugal), Romanian, Russian, Spanish (Spain), and Swedish.
How to Create 301 Redirects in WordPress Without a Plugin
If the status argument is not provided, the redirect will be 302 (temporary) redirect, which indicates to the client that the resource has moved temporarily. Provide the URL-path argument with a path that will be redirected (beginning with a slash). Provide the last URL argument with your destination URL.
WordPress.org
When redirect is enabled it can send 2 different header types. “200 OK” is best used for when the site is under development and “503 Service Temporarily Unavailable” is best for when the site is temporarily taken offline for small amendments. If used for a long period of time, 503 can damage your Google ranking.
WordPress.org
1.2.9 – Add Banner in dashoard + compatible up to WordPress 4.9.8 1.2.8- Updated Bootstrap Library + Update Font-Awesome Library + Add Three New template screenshots + Add Offer,Recommendations,Product page + version update + Compatibility to WordPress 4.9.6 1.2.7 – version update + compatible up to WordPress 4.9.5 1.2.6 – version update + compatible up to WordPress 4.9.4 1.2.5 – version update + compatible up to WordPress 4.9.2 + add nonce filed + add one file code for export-csv file. 1.2.4 – version update + compatible up to WordPress 4.9.1 + Social Icon at footer not working proper bug fixed + Copyright change 2016 to 2018 1.2.3 – version update + compatible up to WordPress 4.9.1 1.2.2 – version update + compatible up to WordPress 4.9 1.2.1 – version update 1.1.10 – version update 1.1.9 – version update + compatible up to WordPress 4.8.1 1.1.8 – version update 1.1.7 – version update + compatible up to WordPress 4.8 1.1.6 – version update 1.1.5 – version update 1.1.4 – background image url syntax fix 1.1.3 – version update 1.1.2 – version update 1.1.1 – PHP Mailer Library Removed (not supported by WordPress.org 4.7.2) 1.1.0 – PHP Mailer Library Updated to 5.2.22 1.0.9 – version update only 1.0.8 – version update 1.0.7 – compatible update WordPress 4.7 1.0.6 – update
WordPress.org
Maintenance Mode plugin does not redirect visitors from wp-login.php or wp-admin page to maintenance mode landing page. If you are getting a maintenance mode landing page when visiting login url make sure you are not using any plugin or theme which redirects login page to some custom page. If you are using any plugin which lets you create custom login page or redirect disable it otherwise maintenance mode plugin cannot differentiate between login page or maintenance mode landing page.
5 Absolutely Useful WordPress Maintenance Mode Plugins for 2019
Firstly, let’s discuss the case of existing website. Suppose you have a live website with a remarkable number of daily visitors but need to make some big changes that may cause your site downtime. As a result, your site visitors may eventually land on a broken page/ error page – bad luck to you! Besides, the 503 service unavailable responses can affect UX as well as rankings over time. But a quality maintenance page plugin can save you in such a scene. You can easily create a good-looking maintenance page and notify your site visitors that your site is under construction and will be live soon.
WordPress.org
The Maintenance plugin allows the WordPress site administrator to close the website for maintenance, enable the “503 Service Temporarily Unavailable” error, and set the temporary authorization page, which can be edited via the plugin settings. It is highly customizable and looks good on all devices due to the responsive layout. You can add your logo, background image, text, and select the desired color to preserve brand identity. The extended version of the plugin includes more settings that become available upon installation of the PRO extension plugin. Check out the PRO version – a feature-rich maintenance plugin for WordPress
WordPress.org
It is hard to continue development and support for this free plugin without contributions from users like you. If you enjoy using WP Maintenance and find it useful, please consider making a donation. Your donation will help encourage and support the plugin’s continued development and better user support.
How To Put WordPress Site Into Maintenance Mode
In addition, this plugin comes with a default theme template to be displayed when the maintenance mode is activated. You can also use your own theme by creating a 503.php file and uploading it to your theme directory. Just go to the Maintenance Mode Setting page and select the 503.php file you have created.