0
I've run into an issue with a client's Wordpress site, which is hosted on godaddy (Ultimate Web Hosting Linux)
I'm trying to update their theme's index.php file. Any changes that I make to that file never appear when I try to view source in any browser I've tried, but I can update header.php, and footer.php without any issues.
At first I thought it may be a permissions issue, yet when I edit the index.php file using Godaddy's online file editor, I can see my edits are there.
Godaddy's support responded with "it appears HTML formatting within the PHP coding is not compatible with the document type in use and, as such, the browsers are unable to correctly render the content." The document type from the source is:
<!DOCTYPE html>
<html lang="en-US">
The content I've tried is straight text and an HTML comment as below:
<!-- Comment -->
Today I deleted the file on the server to no effect. The page still loads perfectly.
I am absolutely stumped here. Is Godaddy using some sort of cache for this one file?
I assume you have cleared your cache? – Ramhound – 2014-02-01T03:06:39.800
Cleared cache, and tried it on 2 computers and used Chrome, Firefox, Seamonkey, and Internet Explorer. Like I said earlier, totally stumped here. – Fireflight – 2014-02-01T03:18:12.413
There is something else going on. I use the same service godaddy does not cache content – Ramhound – 2014-02-01T04:21:08.807
Yes, the problem problem is that I'm apparently blind :) Didn't notice the home.php on the remote server. – Fireflight – 2014-02-04T03:48:42.100