www. and non-www. loading different versions
Permalink 1 user found helpfulThe site is:
okiepressorderdesk.com
http://www.okiepressorderdesk.com
The www site is loading old versions of the pages.
How do I fix this?
It is hosted on godaddy. I called them, and they think it is an issue with concrete5 settings.
(note, I tried searching forums, but could not find anything about this)
It isn't a user-side problem. I see it on 4 different computers.
(note - on phone at moment - will post pic showing diffference later)
http://dnscheck.pingdom.com/?domain=www.okiepressorderdesk.com&...
Found this snippet here:
http://corz.org/serv/tricks/htaccess2.php...
Options +FollowSymlinks RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,NC,L]
Danica's the only good thing about GoDaddy as far as I'm concerned.
And I am not too fond of godaddy, but it has been better than the other two hosts I tried. Do you have a host you recommend for somebody using multiple sites?
Try something first... if you go to 'Dashboard->System and Settings->Pretty URL's' and try to enable Pretty URL's, does it give you a message that C5 WAS able to update your .htaccess?
Still interested to hear of a better hosting company.
thanks
They have a 'Thanksgiving Special' on for the next 3 hours for $2.85/month. One year costs $35. Might be worth getting a 'sandbox' account with them just to test them out to see how you like it.
Btw.: You can configure your (Apache) webserver for that, by adding this to your .htaccess:
# Option 1: # Rewrite "www.domain.com -> domain.com" <IfModule mod_rewrite.c> RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] </IfModule> # Option 2: # Rewrite "domain.com ->http://www.domain.com" <IfModule mod_rewrite.c> RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_HOST} !^www\..+$ [NC] RewriteCond %{HTTP_HOST} (.+)$ [NC] RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L] </IfModule>
This issue has caused me a tonne of grief. I was hoping that someone from the core team would have recognized it and provided more info but this is the most elaborate post on the topic I have found.
Fixed (for now) by shutting off all settings in cache - clearing, and turning back on.
I suspect it started appearing as an issue when I'd do edits logged intohttp://mysite.com but my client logged intohttp://www.mysite.com and they may have cached as different site pages?
I am using Concrete 5.6 and I was having the same issue.
From your 'Dashboard' go to 'System and Settings'
Under 'Optimization' select 'Clear Cache'
When I remove the css completely the page loads without it but when it's put back in (updated) it still loads the old version - this is very strange and makes no sense.
I'll try putting an overwrite in the blocks dir next.. will see
May you clear the cache...