How do I change my index page from php to html?

Avatar
  • updated
  • Answered
i recently uploaded my site using Filezilla and wanted to know how to change my index page from .php? to .html. the website is www.glitzycreations.com/index.php? currently but i want to change it to .html extension for proper upload . thanks
Avatar
JT S.
Quote from timmyleeturner

Yes, I figured it out while waiting for support.  Now I'm trying to figure out why my site is down after turning on Free SSL.  Problems problems.

With more info, we may be able to offer assistance. Otherwise, please contact Live Support again.

Avatar
timmyleeturner

Yes, I figured it out while waiting for support.  Now I'm trying to figure out why my site is down after turning on Free SSL.  Problems problems.

Avatar
Scott
Hello miyoka, If you mean you want to rename an index.php to index.html, that will not be something you can do without changing the code for the file as php and html are entirely different languages. Do you mean that you have already created an index.html page but it is not showing? In that case, you will want to take a look at our article on Changing your default index page. Doing this will let you set the index page to whatever you desire as long as it exists. Kindest Regards, Scott M
Avatar
JacobIMH
Hello Rick, and thanks for your question.

I see that it looks like you've already updated your (.htaccess) file to use the rule:

DirectoryIndex index.php

So that the (index.php) script is treated at the main index file for your directory. I see that you also have a (htaccess.txt) file also located in the same directory which appears to be a default template for a Joomla site.

So you should simply be able to re-name the (htaccess.txt) file to (.htaccess) to get your URL rewrites working properly again.

Please let us know if you have any further questions at all.

- Jacob