If you have an index.html file, delete it, or rename it.
I deleted it. No change. I read online that I need to put this in my .htaccess file.
RewriteEngine on
RewriteRule index\.html index.php [NC,R]
I have GoDaddy hosting. The file is not in my Root folder. So do I have to create a new one? What does it look like?
If you have php installed on your server, you shouldn’t need a .htaccess file.
Rename the .htaccess file to something like: xxx.htaccess – see what happens then, you haven’t lost it then – its still safe.
Be careful about changing the content of your .htaccess file unless you know what you are doing – what I can tell you is some .htaccess configs interfere with php files.
Well, I just plain didn’t have a .htaccess file at all. I found online what to put in one. Here’s what I got:
AddHandler server-parsed .php
AddHandler server-parsed .php4
# -FrontPage-
IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName http://www.example.com.au
AuthUserFile /var/chroot/home/content/f/r/e/frenzix1/html/_vti_pvt/servic e.pwd
AuthGroupFile /var/chroot/home/content/f/r/e/frenzix1/html/_vti_pvt/servic e.grp l>
I made that file, uploaded it, and now the site actually works! I just hope there is nothing in there that is going to mess up anything else. 😛
Oh.. now that I’m looking.. some of that is definitely wrong.. heh
Okay, I just took this junk out and it still works good.
AuthName http://www.example.com.au
AuthUserFile /var/chroot/home/content/f/r/e/frenzix1/html/_vti_pvt/servic e.pwd
AuthGroupFile /var/chroot/home/content/f/r/e/frenzix1/html/_vti_pvt/servic e.grp l>
All better. 🙂