add index.html to a wordpress website

I have a website on wordpress, default page is index.php
I added a non-wordpress page (index.html) which works as a splash page and links to index.php.

On IIS I set index.html as default, so it loads, but when user clicks on the link that should take to index.php it goes back to index.html instead ... I am not sure why.
LVL 1
AleksAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kevin CrossChief Technology OfficerCommented:
Do you have URL rewriting (or SEO, search engine, friendly URLs) on?  If I remember correctly, this makes all requests for "/index.php" process as "/" (i.e., it removes the index.php from the URL)...therefore, what you probably are seeing is the page thinking that the default page is your index.php but it is not since you set index.html as the default.  If you want both, you can try having your splash page at a level above.

In other words, make your WordPress site in a sub folder like "/blog" then when you hit "/" you get your default index.html page but then when you hit "/blog" you get your default index.php page.  I hope that makes sense.
AleksAuthor Commented:
I get the idea. If I move the wordpress one folder under won't all the links of the site have problems ?
AleksAuthor Commented:
that didn't work. it made a mess of the site  :$
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

Kevin CrossChief Technology OfficerCommented:
Yes if this has been running under the current way for a while, the SEO also is a concern because you will have cached links.

You can change the WordPress site URL: https://codex.wordpress.org/Changing_The_Site_URL
But given the other concerns of uprooting pages, you can do what I said in reverse if this splash page is something you are pointing users to by a link like "/home" then SEO-friendly links for the WordPress blog still work as they did before.  If you choose to change the site URL, you could manage the current links easily enough and transition to new setup you want.  Hope that helps.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kevin CrossChief Technology OfficerCommented:
What are you trying to accomplish by adding a splash page to your existing WordPress site?
AleksAuthor Commented:
Never mind. I decided to change to a Bootstrap website. I am having too many issues with MySQL and web attacks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.