chance100 Posted December 4, 2013 Share Posted December 4, 2013 Hey everyone - new to the forum. I searched for this prior to posting. When building up a brand new site - what is the correct way to set it up where the index.html will not show up in the web address bar for the home page? I am not talking about a redirect from one page to another. Specifically I need to be able to remove or eliminate index.html from showing up in a new site build. Thanks in advance for anything on it. Link to comment Share on other sites More sharing options...
Ingolme Posted December 5, 2013 Share Posted December 5, 2013 Servers normally will work fine without index.html on the URL. Just make sure not to put index.html on your links. If you want to actually redirect index.html to the same URL without "index.html" on it, look at .htaccess and mod_rewrite. If your server isn't apache or is configured in a different way, there might be other alternatives to htaccess but I haven't studied them. Link to comment Share on other sites More sharing options...
chance100 Posted December 5, 2013 Author Share Posted December 5, 2013 got it. thank you Jason. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now