New site is loading Under Construction page instead of WordPress Site

I created my first online site. I put all my files on the server (I used WordPress for now) and it’s great, but, when I enter my site address (let’s say: www.mysite.com) I see only “Under construction”. I only see my website after typing: www.mysite.com/index.php.

How can I make www.mysite.com load index.php without needing to enter it in the address bar?

Related posts

1 comment

  1. There is probably an index.html file at the root of your public html folder that you need to delete. Once you delete this, your site will load as normal.

    Most web servers load .html files before any other files. So if you have index.html and index.php in the root of your public html folder, it will most likely load index.html first.

    You also may need to make sure you have an .htaccess file in the root of your public html folder, and that it contains the basic WordPress code:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    

    More info on that here.

Comments are closed.