I built this Foundation site and I’ve had an issue that’s been plaguing me for the past 6 months. I posted about it here before and got some advice but no resolution. Yesterday I contacted our web host and they don’t believe the problem is hosting related. So I need some advice on what might be going on.
So the issue is—why are there two different versions of the page? Using File Manager on the webhost, there is only one default file in the folder and its the index.html.
What can I do to solve this? The extra text makes viewing on iPhones nearly unusable.
I can but I don’t understand. The Index.html file is showing correctly without the slogan. That’s what I want. I don’t understand why the domain doesn’t seem to be resolving to the same index.html file. I can’t be having visitors type index.html when typing in my domain name.
Odd? As a way to narrow down the cause could you post a second duplicate site to a temporary sub domain and see if the same issue presents itself? Or if subdomain not doable perhaps a temporary directory on the main domain.
Another idea to try if you haven’t…have you tried deleting the entire site (RW resources etc.) from your server and re-publishing all files? If not would be worth a try IMO. Waiting with interest as well to see if tidy links might be a culprit somehow.
I would give the delete and re-publish a shot if you’re able. Could also turn off the tidy links and re-publish and check results. Make sure to re-publish all.
Ok turning Tidy Links off had no effect. I tried opening the domain in a browser I never use–Firefox just to make sure it wasn’t a caching issue. Cs2usa.com and cs2usa.com/index.html have the same results as before.
Tidy links won’t have any effect on the serving of the default page for the domain. That only effects other pages on the site.
Apache (the webserver you are using) has a directive called “DirectoryIndex” that determines what file(s) get served when a complete file name is not provided.
Since it sounds like you have turned off “tidyLinks” and then republished everything, that means you probably have a bunch of junk out on the server now. You’ll have file HTML files in the root directory for each page, and folders for each page. Might want to delete everything on the server and start fresh.
You should have only one HTML file at the root directory(index.html). The screenshot shows at least 4 files.
Ok so I deleted all the files and republished. I’m having a template issue obviously but the underlying issue still remains. Look at these two screen shots. That extra text is still there.