Adding “under construction” page but still be able to test the site?
-
Hi,
I’m building a WordPress installation directly at a domain eg. https://www.domain.co.uk. I don’t want people who visit that domain to see the site until it’s done, so I added “DirectoryIndex underconstruction.htm” to my .htaccess file and created that page which shows my under construction message. So now if I visit https://www.domain.co.uk I see the construction message, and if I visit https://www.domain.co.uk/index.php I see the WordPress installation. So far so good.The only thing is if I click on any of the links in the sidebar, I get taken to the under construction page, with the browser showing for example URL “https://www.helenorton.co.uk/?page_id=3”. I can get to the actual page by inserting “index.php” before the ? but it’s a pain having to do this every time I click a link. Can anyone suggest a solution? I’m actually building this for someone else and I want them to easily view work in progress. Many thanks for any advice.
- The topic ‘Adding “under construction” page but still be able to test the site?’ is closed to new replies.