Jump to content

Recommended Posts

I changed my site's CSS, and now, whenever I type in my address it is all wrong.  When I add "/index.html" to the URL it looks fine.

 

How do I make it so that the server automatically takes users to "index.html" without having to add "/index.html" in the URL bar?

 

Thanks in Advance.

Link to comment
https://forums.phpfreaks.com/topic/73267-indexhtml-is-not-my-default/
Share on other sites

I changed my site's CSS, and now, whenever I type in my address it is all wrong.  When I add "/index.html" to the URL it looks fine.

 

How do I make it so that the server automatically takes users to "index.html" without having to add "/index.html" in the URL bar?

 

Thanks in Advance.

 

I have no idea how that could be related to css, it sounds more like somthing is wrong with your server configuration.

 

 

Hay... just a wild guess, perhaps your server is case sensitive, so make shure your "index.html" are in lowercase, and not "Index.html" for instance.

I know, and im telling you. It may still very well be the case, because some servers will go 404 if the index file isent in lowercase letters.

 

Otherwhise it still sound like a configuration problem to me, and in that case its just a question about adding the right file extension to the configuration file'(s), if your on a webhost you should contact their support, although i find it unlikely they would mess with it.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.