Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter laviolette99

    (@laviolette99)

    Thanks for your precious help sidgoyal1

    Thread Starter laviolette99

    (@laviolette99)

    Anyone can help?

    Thanks!

    Thread Starter laviolette99

    (@laviolette99)

    I just realized that the plugin serves cached pages even to admins… ??

    Thread Starter laviolette99

    (@laviolette99)

    I nailed down the bug….

    There was a directory named “sync” under my main domain directory!

    Thanks for your support!

    Thread Starter laviolette99

    (@laviolette99)

    The sync directory is there and it has cache pages in it, but it doesn’t work with the sync in the rewrite rule.

    I also tried to change that line:
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f

    (-:

    Thread Starter laviolette99

    (@laviolette99)

    Thanks whooami!

    Unfortunately it doesn’t work. I get 404 errors.

    Here’s what I have in my htaccess file right now:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} /sync/(.*)
    RewriteRule ^(.*)$ https://www.wordpointer.com/%1 [R=301,L]

    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP_USER_AGENT} !^.*(Android|2.0\ MMP|240×320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/WX310K|LG/U990|MIDP-2.0|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|Playstation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|Windows\ CE|WinWAP).*
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP_USER_AGENT} !^.*(Android|2.0\ MMP|240×320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/WX310K|LG/U990|MIDP-2.0|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|Playstation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|Windows\ CE|WinWAP).*
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
    </IfModule>

    # END WPSuperCache

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thanks a lot.

    Thread Starter laviolette99

    (@laviolette99)

    Donncha,

    I think I found what’s causing the problem, but I can’t solve it…

    The permalink structure we’re using is like the following: https://www.wordpointer.com/sync/2009/09/halo-3odst-game-review-its-finally-here.html

    We recently imported this blog to WordPress from an other plateform, and we had to insert the “/sync/” in the middle of the permalink structure to preserve the original post urls. For obvious SEO reasons, we can’t change that (we have over a thousand posts).

    Do you know how I could tell the plugin/cache directory/htaccess file to look for this structure for post and category pages? The homepage does not have that…

    Thanks a lot for your support!

    Thread Starter laviolette99

    (@laviolette99)

    What do you mean installed in “/?” ?

    Tha half mode works but this blog has spikes of tens of thousand visitors per hour. That’s why we’re looking for the most robust solution.

    Thread Starter laviolette99

    (@laviolette99)

    Hi Donncha,

    I’ve uninstalled everything and tried the dev version, but I still have the same issue.

    When I first tried it after installing the plugin, I thought it was working fine, but after closing and reopening the browser, I realized that I had the same issue.

    The dev version says version 0.9.6.1. Do I have the correct version?

    Here are the rules I now have in my .htaccess file:

    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP_USER_AGENT} !^.*(Android|2.0\ MMP|240×320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/WX310K|LG/U990|MIDP-2.0|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|Playstation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|Windows\ CE|WinWAP).*
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP_USER_AGENT} !^.*(Android|2.0\ MMP|240×320|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|hiptop|IEMobile|iPhone|iPod|KYOCERA/WX310K|LG/U990|MIDP-2.0|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|Playstation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|Windows\ CE|WinWAP).*
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
    </IfModule>

    # END WPSuperCache

    ??

    Thanks,

    S.

    Hi,

    I have the same type of slow queries. Have you found anything on this?

    Cheers!

    Thread Starter laviolette99

    (@laviolette99)

    I now see that the RSS feed uses the_excerpt_rss() function and that function uses get_the_excerpt() to get the content from the post.

    The problem we have is that in the RSS feed the “manual” excerpt is not used by WordPress but we have the “automatically” generation excerpt.

    Anyone can help?

    Thanks,

    Thread Starter laviolette99

    (@laviolette99)

    Thanks samboll.

    I tried that and it didn’t work, but….A redirection plugin I was using was causing that mess. The bug disappeared instantly after I disabled it.

    Thread Starter laviolette99

    (@laviolette99)

    Found the bug…

    To match typepad’s urls I had to use custom permalinks and a space was located at the end of my permalink structure… It was an invisible bug!!!

    Thread Starter laviolette99

    (@laviolette99)

    It works marvelously!

    Thanks to both of you guys!

    Thread Starter laviolette99

    (@laviolette99)

    Thanks Ivonic!

    You’ve been a great help!

Viewing 15 replies - 1 through 15 (of 15 total)