![]() |
page headers
Hi there does anyone know how to do this, just got some advice on my site about changing page headers but not sure how to do this (it might even be a server config)
Quote:
|
Hi cotc,
Yes that would be some sort of default server config behavior as the "Expires" meta information isn't fed by xcart. You can probably override that output by editing your /skin1/meta.tpl and putting in your own "Expire" meta information tags. |
Hmm just checked with our host and they said it wasnt the server it was the code (doesn't surprise me that they said that)
I entered the expire information into the meta.tpl but it didn't have any effect at all :( |
Hi cotc,
Just visited your site and in viewing the source am in fact seeing the new "Expire" meta tag: Code:
<META HTTP-EQUIV="expires" content="-1"> This is what you intended right 8) Make sure you refresh browser or force it to reload not from cache by doing CTRL F5 :wink: |
Not its definatley a server problem, although the code is in there the server is orverriding it. i.e if you goto
http://www.seoconsultants.com/tools/headers.asp and enter http://www.justhom.com and click on check server headers and then have a look at the "expires:" it still show the back date as if the meta was not in there. im talking to my host about fixing it (their first reaction was that its the x-cart code) 8O |
Ok sorted.
All that needed doing is that on .php pages like home.php , product.php etc. after Code:
require "./auth.php"; I added Code:
header("Cache-Control: no-cache, must-revalidate"); seems to have done the trick now :D |
All times are GMT -8. The time now is 06:08 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.