CSS Stylesheet Not Updating

Status
Not open for further replies.

concordt

New Member
Messages
4
Reaction score
0
Points
1
Hi all,

Not sure what's going on with the CSS on my site, http://www.concordtutors.tk/
I am currently building this website and I am constantly changing the CSS around. I can update the CSS, upload the new CSS via FTP and the old CSS still shows. In order to actually update my CSS, I have to migrate it to a new file, ie, "styles1.css" instead of the original "styles.css"

Now here's the real kicker...
I can even delete the styles.css file from the website entirely via FTP client and it is still accessible via the website!? I don't think this is a cache error because I've cleared my cache, tried different browsers, tried different computers, and waited a couple hours for the server to update itself.

I also disabled the varnish cache with the .htaccess file supplied on the support part of the website.

This is getting super annoying. The only thing I've found that fixes it temporarily is to completely remove the parked domain from my account and repark it and reupload the files.

What's going on?


Here is an example, I literally just changed the name of "styles1.css" to "style.css" and changed it in my html to match as well.

BOjnMES.png


You can see there is clearly a style.css file on the server, but when you navigate to /home/style.css it displays the 404 page.
 
Last edited:

spacresx

Community Advocate
Community Support
Messages
2,183
Reaction score
195
Points
63
Technically you do not have a /home/ folder set up.
so any files in that /home/ will also not be found.

I tried http://www.concordtutors.tk/home/
but it goes to your http://www.concordtutors.tk link instead.
when it should have gone into the /home/ directory and listed files.
(unless of course your using an htaccess to redirect /home/ requests)

by default your "home" directory is considered the public_html folder.
anything in your public_html shows when you go to http://www.concordtutors.tk
so its a slight possibility using the word "home" may be a problem.

in your public_html, is it common for you to use both style.css and bootstrap.min.css together? (i never used bootstrap code)
 

concordt

New Member
Messages
4
Reaction score
0
Points
1
Hi all,

Not sure what's going on with the CSS on my site, http://www.concordtutors.tk/
I am currently building this website and I am constantly changing the CSS around. I can update the CSS, upload the new CSS via FTP and the old CSS still shows. In order to actually update my CSS, I have to migrate it to a new file, ie, "styles1.css" instead of the original "styles.css"

Now here's the real kicker...
I can even delete the styles.css file from the website entirely via FTP client and it is still accessible via the website!? I don't think this is a cache error because I've cleared my cache, tried different browsers, tried different computers, and waited a couple hours for the server to update itself.

I also disabled the varnish cache with the .htaccess file supplied on the support part of the website.

This is getting super annoying. The only thing I've found that fixes it temporarily is to completely remove the parked domain from my account and repark it and reupload the files.

What's going on?
Technically you do not have a /home/ folder set up.
so any files in that /home/ will also not be found.

I tried http://www.concordtutors.tk/home/
but it goes to your http://www.concordtutors.tk link instead.
when it should have gone into the /home/ directory and listed files.
(unless of course your using an htaccess to redirect /home/ requests)

by default your "home" directory is considered the public_html folder.
anything in your public_html shows when you go to http://www.concordtutors.tk
so its a slight possibility using the word "home" may be a problem.

in your public_html, is it common for you to use both style.css and bootstrap.min.css together? (i never used bootstrap code)

The /home/ directory is only accessible once a user is actually logged into the website. Once the user logs into the website it directs them to /home.

The .css updated, but it took over 12 hours to actually refresh. As for multiple .css files, yes it's common to use more than one, but they can all be combined into one I assume.
 
Status
Not open for further replies.
Top