Solution 1 :

You can do this by adding this content to .htaccess file in public_html directory

RewriteEngine On

DirectoryIndex test.html 

replace test.html with your file name

Solution 2 :

it’s entry page, for whole entry pages, you should use naming index.html, rename your page to index.html

Problem :

Sorry if this isn’t the appropriate place to ask this question, as it doesn’t pertain directly to code, but I haven’t found any help anywhere else.

So I’ve created a temporary landing page for my website that’s just an .html file. I’ve uploaded it onto the host’s public_html directory. In order to access that page I need to go to However, I’d like to be able to access that page by just going to


Comment posted by Amit Verma

You can do that using the following rule in your htaccess file :