• Resolved molliejtk

    (@molliejtk)


    Hello,

    I’ve installed and activated your plugin as suggested that it performs really great work compared to the others, and it really did ! thank for your great job on this !!!!
    However, excepted that shortly it redirect to www. —- /wp-content/cache/all//index.html and
    also , it retrieved the old version of data that I’ve updated on backend such as old lists & orders of my product categories shown in accordion sidebar.
    It turns to normal when I’ve tried deactivated your plugin, but I just wanted to make it work, searching on your support forum the problem still unsolved.

    Could you please suggest what the setting and code I should add to make everything works fine?

    FYI : When activated the plugin AND Logging in WP admin the frontend just work fine as it should, however, the issue appear when Logging out off WP admin and enter URL site as usual.

    Thank you so very much in advance ! I’m looking forward to hearing from you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter molliejtk

    (@molliejtk)

    My .htaccess Look like below when plugin activated …

    # BEGIN WpFastestCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^triodecor.com
    RewriteRule ^(.*)$ http\:\/\/www\.triodecor\.com\/$1 [R=301,L]
    # Start WPFC Exclude
    # End WPFC Exclude
    # Start_WPFC_Exclude_Admin_Cookie
    RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=TrioDecor|TrioDecor_admin|TrioDecor_aon
    # End_WPFC_Exclude_Admin_Cookie
    RewriteCond %{HTTP_HOST} ^www.triodecor.com
    RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WhatsApp|Mediatoolkitbot)
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{HTTPS} !=on
    RewriteCond %{REQUEST_URI} !(\/){2}$
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond %{QUERY_STRING} !.+
    RewriteCond %{HTTP:Cookie} !comment_author_
    RewriteCond %{HTTP:Cookie} !wp_woocommerce_session
    RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil
    RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC]
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
    RewriteCond /home/triodeco/domains/triodecor.com/public_html/wp-content/cache/all/$1/index.html -f
    RewriteRule ^(.*) “/wp-content/cache/all/$1/index.html” [L]
    </IfModule>
    <FilesMatch “index\.(html|htm)$”>
    AddDefaultCharset UTF-8
    <ifModule mod_headers.c>
    FileETag None
    Header unset ETag
    Header set Cache-Control “max-age=0, no-cache, no-store, must-revalidate”
    Header set Pragma “no-cache”
    Header set Expires “Mon, 29 Oct 1923 20:30:00 GMT”
    </ifModule>
    </FilesMatch>
    # END WpFastestCache
    # BEGIN GzipWpFastestCache
    <IfModule mod_deflate.c>
    AddType x-font/woff .woff
    AddType x-font/ttf .ttf
    AddOutputFilterByType DEFLATE image/svg+xml
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE text/javascript
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/x-font-ttf
    AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
    AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf
    </IfModule>
    # END GzipWpFastestCache
    # BEGIN LBCWpFastestCache
    <FilesMatch “\.(ico|pdf|flv|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|ttf|svg|eot)(\.gz)?$”>
    <IfModule mod_expires.c>
    AddType application/font-woff2 .woff2
    ExpiresActive On
    ExpiresDefault A0
    ExpiresByType image/webp A2592000
    ExpiresByType image/gif A2592000
    ExpiresByType image/png A2592000
    ExpiresByType image/jpg A2592000
    ExpiresByType image/jpeg A2592000
    ExpiresByType image/ico A2592000
    ExpiresByType image/svg+xml A2592000
    ExpiresByType text/css A2592000
    ExpiresByType text/javascript A2592000
    ExpiresByType application/javascript A2592000
    ExpiresByType application/x-javascript A2592000
    ExpiresByType application/font-woff2 A2592000
    </IfModule>
    <IfModule mod_headers.c>
    Header set Expires “max-age=2592000, public”
    Header unset ETag
    Header set Connection keep-alive
    FileETag None
    </IfModule>
    </FilesMatch>
    # END LBCWpFastestCache

    php_flag opcache.enable Off

    # BEGIN Force http to https
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
    # END Force http to https

    php_value memory_limit 256M
    php_value max_execution_time 450
    php_value post_max_size 32M
    php_value upload_max_filesize 32M

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

    # END WordPress

    Plugin Author Emre Vona

    (@emrevona)

    Thread Starter molliejtk

    (@molliejtk)

    Thank for your reply !!

    I’ve tried that but then the homepage is not directed to https:// anymore…
    Plus, it broken some of my theme & plugin applied like Slider Revolution banner disappeared ,also the font style and FontAwesome have gone.

    As in picture here : https://prntscr.com/hq4v9z

    Do you have any suggestion on solving this ??

    Plugin Author Emre Vona

    (@emrevona)

    Please contact me via email again

    Plugin Author Emre Vona

    (@emrevona)

    solved.

    I tried the solution on https://www.wpfastestcache.com/tutorial/redirection-to-wp-contentcacheallindex-html-problem/. But my homepage isnt redirecting. Here is the redirection portion of htaccess

    # BEGIN HTTPS Redirection Plugin
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    # END HTTPS Redirection Plugin

    we have a lot of domains, so this is affecting a lot.

    Plugin Author Emre Vona

    (@emrevona)

    The rule must be as below.

    # BEGIN HTTPS Redirection Plugin
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$
    RewriteCond %{REQUEST_URI} !wp-content\/cache\/(all|wpfc-mobile-cache)
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    # END HTTPS Redirection Plugin

    That didnt fix it. The site I’m working it on now is csctimes.com on chrome. This is in my error log ‘Module ‘memcache’ already loaded in Unknown on line 0′, does that relate?

    Plugin Author Emre Vona

    (@emrevona)

    there is no problem. It works properly. You can try via https://www.browserling.com/

    I will test more. I am receiving reports from my other team members that the https://www.csctimes.com/wp-content/cache/all//index.html is being displayed by using browserling.com and using windows 7 and chrome.

    Plugin Author Emre Vona

    (@emrevona)

    which url do you try?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘URL Homepage Redirect to /wp-content/cache/all/index.html & Old data’ is closed to new replies.