Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-12-30 21:58:09
- Marek Zelenka
- New Member
- Registered: 2010-11-23
- Posts: 6
mod_rewrite - randomly wrong contents on URL
Hi all,
I have very unpleasant problem with clean URLs.
Sometime if I click on menu where I have sections, it gives me wrong page on the URL of section. I can click the section from menu many times but it just keep the wrong contents or sometime it gives me other wrong page on the some URL. Only if I use CTRL+F5 it gives me the right page of the URL. It hapens only randomly. Mostly it is ok.
I do not know at all if this could be problem of Texpattern or the server.
I use Texpattern 4.3.0 and it works all right after if I switch to messy URL.
What could case this anomaly?
I think it should be around the .htaccess file?
You can try it here
Thanks for any help!
Marek
Offline
Re: mod_rewrite - randomly wrong contents on URL
Hi Marek
Your site works just fine from here.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2010-12-31 11:57:36
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: mod_rewrite - randomly wrong contents on URL
Looks like a caching issue. You could try if setting Send ‘Last-Modified’ header to ‘no’ makes a difference.
Offline
#4 2010-12-31 17:32:19
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: mod_rewrite - randomly wrong contents on URL
Gosh, Marek, good you remind me! I’d forgotten about that problem on one of my sites after I found it worked correctly in test mode and I easily could screw off from the core the additional info block in the HTML source.
Els, the last modified header setting did the trick for me. Thanks!
But why does it work reliably in debug and test mode, though not live?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#5 2010-12-31 19:11:53
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: mod_rewrite - randomly wrong contents on URL
uli wrote:
But why does it work reliably in debug and test mode, though not live?
If I’m not mistaken the last-modified header is never sent in testing or debugging mode.
Offline
Offline
#7 2011-01-02 21:44:00
- Marek Zelenka
- New Member
- Registered: 2010-11-23
- Posts: 6
Re: mod_rewrite - randomly wrong contents on URL
Perfect!
It was really the Send ‘Last-Modified’ header setting .
After I`ve switched it to “no” everything works well!
Just miracle! :-)
Thans guys!
Marek
Offline