Jump to content

Recommended Posts

Posted

This unsettling problem is similar to that of Why Won't My Index File Display?, from April 19.

 

The problem started just after I edited my Comcast home page (http://home.comcast.net/~john.o/), which is just a placeholder.

 

Now when I try to view the main page of my (practice) site at http://oggerino.com/, without specifying index.php, I am instead presented with my Comcast index.html with "http://oggerino.com/" showing in the address field! This happens in both Firefox and IE6. I've tried clearing all private data, exiting the browsers, rebooting, with no change.

 

There is no problem with the subdirectories. All the links in my site to the home page, as they are now, display the Comcast page instead.

 

Any ideas as to what happened?

 

Thank you.

 

John

Posted

Do you have an index.htm or index.html file in your public_html folder? If so those will be called before the index.php file.

 

Also check the .htaccess file and see if there are any redirect commands listed. Use File Manager in cPanel to view your .htaccess file.

Posted

Yes, there was an index.html file in my public_html directory! And it just happened to be my Comcast one. I deleted it, and all is well again.

 

I checked the .htaccess file. There are no redirect commands in it, but I did edit the DirectoryIndex line to make index.php first in the list. That's about the only editing I'm comfortable with in .htaccess files.

 

Evidently, when I uploaded to comcast from my text editor (ftp capable) I didn't take a close enough look at the destination directory. This happened a while back, too, but that time it was an index file from one of my subdirectories, so it didn't throw me like this did.

 

Thanks a bunch TCH-Bruce.

 

John

Posted

For others that might be following this thread, I use a index.html on one of my sites as a "this site is temporarily out of service" page while I'm updating things. Then, I simply rename index.html to index.html.bak.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...