Godaddy strikes again ... best suggestion? Find another host.
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
If they can't give you a way to change the DirectoryIndex setting within your own domain, then they have no clue what they're doing and have no business being in the webserver hosting business.
Run. FAST.
Seriously.
In the meantime, add this line to an /.htaccess file in the root of your site: DirectoryIndex index.html index.htm index.php
Whether that works or not, get a more useful host who knows what they're doing.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Aside from the technical issues, you do realise that the current HTML index page will render you a ZERO page rank on Google... The links to anywhere are embedded in a flash file (that took 22 seconds to load on my browser - despite the fact that I have a superfast fibreoptic connection).
Google will get to that (if it is your landing page) and then stop dead in its tracks. It cannot go anywhere into the site, because there is no mechanism for it to do so.
A further consideration is that the HTML landing page will be invisible in all handhelds that currently deny flash content (all Apple iPads, and a few androids too).
So...
- You have a page that takes so long to load that nobody will bother waiting.
- You have a page that Google will completely ignore
- You have a page that an increasing number of mobile internet viewers will never be able to see.
Now... ditch this silly plan and get on with the task of making ZC your proper site... or perhaps you have no real interest in making any sales?
... and if you can, get out of GoDaddy... they do not know how to configure servers to run eComm properly...
20 years a Zencart User
These guys are right on two counts. Count one: When I built my first Zen Cart site I wanted to do an .html landing page and ran in to the same thing. Contacted my host who immediately changed the priority for my site. Any good host should be willing to do so.
Count two: I soon discovered that having a landing page was a stupid idea, and nuked it.
Thanks guys
I cannot locate the ./htaccess file in my root directory. However, there are some .htaccess files under the /pub, /media, /includes, /image, /extra ...... Do I need to add "DirectoryIndex index.html index.htm index.php" to each of them? Or I only need to create another blank ".htacess" file and add this line?
One more thing, can I add the line syntax like that :
(DirectoryIndex index.php?page=page1)
Thanks
You would just add your own new .htaccess to the root of your site.
Don't touch the other ones, as it's irrelevant in those folders.
No, you can't add other parameters. Just the filenames: index.html index.php etc
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.