lotrfan Posted October 15, 2007 Share Posted October 15, 2007 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 More sharing options...
SuperBlue Posted October 15, 2007 Share Posted October 15, 2007 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. Link to comment https://forums.phpfreaks.com/topic/73267-indexhtml-is-not-my-default/#findComment-369655 Share on other sites More sharing options...
lotrfan Posted October 15, 2007 Author Share Posted October 15, 2007 No case isn't the issue. I am referring to when I type in the address WITHOUT the "/index.html". Link to comment https://forums.phpfreaks.com/topic/73267-indexhtml-is-not-my-default/#findComment-369657 Share on other sites More sharing options...
SuperBlue Posted October 15, 2007 Share Posted October 15, 2007 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. Link to comment https://forums.phpfreaks.com/topic/73267-indexhtml-is-not-my-default/#findComment-369662 Share on other sites More sharing options...
lotrfan Posted October 15, 2007 Author Share Posted October 15, 2007 Nope, I cleared my browser cache -- and now it works like a charm. Link to comment https://forums.phpfreaks.com/topic/73267-indexhtml-is-not-my-default/#findComment-370144 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.