LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > LiteSpeed Cache > LS Cache + WordPress

Reply
 
Thread Tools Display Modes
  #1  
Old 06-01-2011, 04:39 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Default LS Cache + WordPress

Hello,

I'm using imported vhosts via cPanel/LS, and trying to setup LS Cache. Problem is, when adding one particular line to my htaccess file, the thing fails: RewriteRule (.*\.php)?$
Reply With Quote
  #2  
Old 06-01-2011, 04:48 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
can you post here the whole .htaccess if it's not too long
Reply With Quote
  #3  
Old 06-01-2011, 04:53 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Quote:
Originally Posted by NiteWave View Post
can you post here the whole .htaccess if it's not too long
http://shamil.la/htaccess.txt
Reply With Quote
  #4  
Old 06-01-2011, 05:09 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
rewrite rules from w3total cache take priority in your .htaccess, so the rewrite rule you added won't reach at all.

both w3total cache and lsws cache are page cache to cache wordpress pages, you only need one at a time, not both.
Reply With Quote
  #5  
Old 06-01-2011, 05:17 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Quote:
Originally Posted by NiteWave View Post
rewrite rules from w3total cache take priority in your .htaccess, so the rewrite rule you added won't reach at all.

both w3total cache and lsws cache are page cache to cache wordpress pages, you only need one at a time, not both.
Which one would you suggest I keep? Which one is better/faster?
Reply With Quote
  #6  
Old 06-01-2011, 07:01 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
I suggest you to keep w3total since it's out of box solution.

lsws page cache is a general cache function, to have it work perfectly with wordpress, need some extra work to customize the rewrite rules.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:31 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.