Either use a plugin (like wp-maintenance-mode) or hardcode your .htaccess file to redirect to the splash page, and allow your own (or your team) IP address to ignore the redirect. Like this:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1
RewriteCond %{REQUEST_URI} !/splashpage.html$ [NC]
RewriteRule .* /maintenance.html [R=302,L]
</IfModule>
Regarding your doubt why index.html gets served from root, it is because it usually takes precedence over index.php. If you wanted to change that, you would have to change the DirectoryIndex.
EDIT: I thought it was obvious, but, for the sake of clarity: 127.0.0.1 should be changed to your public IP address. Also note that 302 is Temporary Redirect, which is what we want.
Related Posts:
- How to use “menu_order” field for posts?
- Add “external” link to admin menu in the backend
- Disable image attachment links
- Remove “Time to upgrade” message from dashboard
- How can I enable Google Analytics on a file download link?
- What is the best method to close off the backend?
- Change Login URL Without Plugin
- Change the link of ‘Howdy’ at the top right
- wp-admin pages return ERR_EMPTY_RESPONSE
- Reorder custom submenu item
- Options for restricting access to wp-admin
- Unwanted redirect in admin area
- Looking for a hook to add attachment information to the media library tab
- Load Balanced WP with single server admin access
- How to move wp-admin login page to another location? [closed]
- WP-admin giving 404
- How to control contextual help section by code?
- File exceeds upload_max_filesize, despite max filesize being large enough
- WordPress admin not changing language
- Can’t access dashboard, connection times out (other pages work fine)
- Getting post meta data, while editing a post in wp-admin panel [closed]
- Add custom text to Page Tamplate without need to know html
- Move WP Admin Bar
- Get Stylesheet To Showup in WP Admin Panel Editor
- Just how ‘expensive’ is this function?
- Custom Background-Image not showing up
- js Conflict in admin panel – I guess it’s from the core WP installation
- Why is there an intermediate redirect to https://public-url.org/wp-admin?
- Create a fullwidth dashboard widget
- admin_url in plugins
- Share Tags Between Custom Posts in Admin
- Website looks fine, but login to wp-admin yields a blank screen
- Filter dropdown in users.php “delete user” bulk edit screen
- Cannot find an OLD Gravity Form on an OLD Word Press site [closed]
- /wp-admin/ 500 error
- Where did the screen options menu go?
- How do I change the upload file size limit in single-site wordpress install?
- Can’t call external stylesheet for WordPress admin (using wp_admin_css)?
- WordPress notification reports
- Restore a layout [closed]
- Logging into sandbox subdomain WP
- Page update through theme editor caused wp admin to break
- White screen of death on admin and other dashboard pages
- can not access wp-admin after migrating to openshift
- wp-admin url doesn’t allow to login and redirects to same page
- wp-admin dashboard redirects to homepage
- Can I hook into wp_update_core outside of the admin?
- Renaming wp-admin without hard-coding it. Is it really possible?
- WordPress Side Menu Admin Panel Default Order numbers List?
- Why can I log into wp-login.php and not wp-admin.php?
- Change admin defaults for reading settings
- How to hide Admin Tabs? [duplicate]
- add_submenu_page() issue
- wp cron, admin and updates questions
- Restrict admin access to certain pages based on page slug
- Unable to properly login
- Is there a simple way to set wordpress site files back to out of the box?
- User Capabilities are not available in WP REST permission callback?
- How to check if it’s edit.php & post_type is set?
- Dashboard : remove Safari navigator message
- Available resources for learning WordPress 4.7.2 from the ground up?
- Create new user from phpMyAdmin
- how to stop wordpress admin menu from scrolling with page
- Contextual help in wp-admin for non admins
- How to have WP admin in English while public website is in another language?
- Trying to create a page as a menu item in the admin while keeping the admen panel visible
- Weird urls after moving site from local env to a server
- How to access wp-admin from original website after setting the domain redirect/forwarding
- Remove “Filter” Button on All Posts in wp-admin
- Step by step guide for new users on how to post content?
- How can I fix, Sorry, you are not allowed to access this page. I have tried the usual
- only last option from theme options is being saved to the DB
- Hook into form handle from admin users table
- Give wp-admin access for shop managers
- Cannot log in to WordPress admin or change password
- 403 Error when using save buttons
- wp-login.php entering password nothing happens
- Cached php? Updates are rendering only if logged as admin
- Js errors in wp-admin
- Avoid executing a function (redirect) if I’m in the admin area
- How to keep the plugin submenu open on viewing a custom version of users.php?
- Admin Panel issue
- Symlinking WordPress WP-ADMIN and WP-INCLUDES
- I cannot access my WP website after changing settings
- sharing wp-include – wp-admin on same installation
- Making WP Admin Folder accessable JUST under a different link
- Is it possible to load an admin page inside a thickbox?
- Why would running an admin check throw a 500 error? I’m calling is_super_admin();
- admin_print_styles incuding $_SERVER[‘DOCUMENT_ROOT’]
- I am not able to enable jQuery in theme settings
- WordPress loop in post admin view
- How to restrict user to see his comments only and admin can see everyone comments?
- Admin Scripts enqueue codes seems ok but not working
- admin-post.php results on white screen after form submission
- CSS not showing up in my website Only HTML Displaying
- theme injecting css into wp-admin
- How to protect wp-admin from third party access?
- Redirection to external site on admin
- Unable to access my plugins [closed]
- Can admin-ajax.php be used for spam purposes? And if yes, how to prevent that?