When I design a site, I always put a 'holding' screen message as an index.html file whilst I work on CMSMS in the server. This is because an index.html file is always seen first before the index.php file.
That has worked fine for a long time now until my latest CMSMS project when the system will only recognise the HTML file if either I type the full address OR delete or rename the index.php file. In other words, the system is not conforming to usual practice.
I cannot find out what is causing this. There are no redirects on this domain and I can't see any other control that would direct the visitor to the PHP file.
Any ideas folks?
Thanks
Martin
ps running CMSMS 1.10.3
[SOLVED] index.html/index.php recognition issue
-
- Power Poster
- Posts: 444
- Joined: Wed Dec 27, 2006 5:15 pm
[SOLVED] index.html/index.php recognition issue
Last edited by burlington on Tue Feb 28, 2012 11:18 am, edited 1 time in total.
Re: index.html/index.php recognition issue
This doesn't answer your question, but here is what I do.. Make a simple 'coming soon' template, and a coming-soon page using this template. Make this the default page.
When you're ready for your site to go live, make 'home' your default page.
When you're ready for your site to go live, make 'home' your default page.
Re: index.html/index.php recognition issue
Add DirectoryIndex index.html to your .htaccess file.
-
- Power Poster
- Posts: 444
- Joined: Wed Dec 27, 2006 5:15 pm
Re: index.html/index.php recognition issue
Thanks Unique 3 and Wishbone for your very helpful suggestions. I have changed the .htaccess file and it works like a dream. I think though for future reference a standard 'welcome' template I can use for all projects would not be a bad idea at all, regardless of any problems.