Page 1 of 1

Index display problem

Posted: Sun Apr 05, 2020 3:52 am
by music19
Why whenever I try to change something in the index, is everything always wrong?
When I preview in my F5 browser, it looks perfectly, there I go up to the server and everything looks bad.
I upload the same files in another folder on the server and it works perfectly, but the index always looks bad.
With default.html it works, but with index.html, it doesn't work

Re: Index display problem

Posted: Sun Apr 05, 2020 6:10 am
by ColinM
Hi music19 - what browser and device are you using ? Could be a cache issue.

Re: Index display problem

Posted: Sun Apr 05, 2020 6:29 am
by music19
ColinM wrote: Sun Apr 05, 2020 6:10 am Hi music19 - what browser and device are you using ? Could be a cache issue.
I use firefox, chrome and internet explorer and cell phone. in all the index appears wrong to me. I delete the cache, but the problem continues. When I change to default.html everything works.

Re: Index display problem

Posted: Sun Apr 05, 2020 7:32 am
by Pablo
To be able to help you, I need to see what you have done.
Did you publish all files?

Re: Index display problem

Posted: Sun Apr 05, 2020 12:40 pm
by jerryco
Is there an .htaccess file in the directory you're having trouble with?

Re: Index display problem

Posted: Sun Apr 05, 2020 7:20 pm
by music19
jerryco wrote: Sun Apr 05, 2020 12:40 pm Is there an .htaccess file in the directory you're having trouble with?
In the .htaccess:

# Begin cache control #
ExpiresActive on
ExpiresActive off
<FilesMatch ".*">
Header unset Cache-Control
Header unset Expires
Header unset Last-Modified
FileETag None
Header unset Pragma
</FilesMatch>
# End cache control #


RewriteEngine On
RewriteCond %{HTTP_HOST} ^***********.com [NC]
RewriteRule ^(.*)$ https://www.**********.com/$1 [L,R=301]

Re: Index display problem

Posted: Sun Apr 05, 2020 7:50 pm
by BaconFries
As previously mentioned by Pablo if you need help the either provide a url so that we can view or provide a copy of the project (striped) otherwise not a lot can be said to help...

Re: Index display problem

Posted: Mon Apr 06, 2020 12:00 am
by bkjohns
Try renaming your .htaccess file and then create an empty one to see if that is where the problem is coming from. If not you can always go back to the original .htaccess.