Put WordPress to maintenance mode
Learn how to put your WordPress website into maintenance mode without using any plugin, but simple codes. By following these simple steps, you’ll be able to make necessary updates to your site while displaying a maintenance mode message to your site visitors.
To put the site into maintenance mode, access the root directory (you can use cPanel, FTP, or File Manager Plugin) and create a .maintenance file. Now add the provided code. This will show the default maintenance message to your site visitors while allowing you to access the backend of the website to make any updates.
After all the updates have been done, simply remove the .maintenance file from your WordPress, and everything will work well. Thank you very much.