• When I try to go to my site, sometimes it is redirecting to /wp-content/cache/swift-performance/www.breathinginchrist.com/desktop/unauthenticated/index.html and none of my images, etc. load. Other times, it does not redirect to that page, but yet the page does not load completely, just like if going to /wp-content/cache/swift-performance/www.breathinginchrist.com/desktop/unauthenticated/index.html. I can go to other pages on my site, and they seem to work fine, it just seems to be the homepage.

    I see in my .htaccess file there are items added by “Swift Performance Lite” and under those I see “BEGIN Swift Performance”. I also see this:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} ^$
    RewriteCond %{HTTP:Cookie} !^.*(wordpress_logged_in).*$
    RewriteCond %{REQUEST_URI} !^/wp-content/cache/swift-performance/([^/]*)/assetproxy
    RewriteCond /home3/breathi5/public_html/wp-content/cache/swift-performance/%{HTTP_HOST}%{REQUEST_URI}/desktop/unauthenticated/index.html -f
    RewriteRule (.*) wp-content/cache/swift-performance/%{HTTP_HOST}%{REQUEST_URI}/desktop/unauthenticated/index.html [L]
    
    <IfModule mod_headers.c>
    RewriteRule (.*)/desktop/unauthenticated/(.*).html - [E=cache_base_uri:$1]
    Header set Link "</%{cache_base_uri}e/css/desktop-full.css>; rel=preload; as=style,</%{cache_base_uri}e/js/desktop-scripts.js>; rel=preload; as=script" env=cache_base_uri
    </IfModule>
    
    </IfModule>

    Is something wrong in my .htaccess file, and if so, how do I fix this?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jrthor2

    (@jrthor2)

    If I clear the cache using Clear All Cache, it will fix it, but then I close my browser and open it, go back to the page, and it’s broken again.

    If I add a cache busting parameter to the url, then it works, like https://www.breathinginchrist.com/?xxx=xxx

    Thanks!

    Thread Starter jrthor2

    (@jrthor2)

    I just deactivated Swift Performance Lite and Swift Performance Extra, my site loaded perfectly fine. I then reactivated both plugins, and so far, the site is still working. Not sure what happened here.

    Thread Starter jrthor2

    (@jrthor2)

    Well, that didn’t seem to work, as my site is back to not showing the homepage again. Can someone please help me with this?

    Thread Starter jrthor2

    (@jrthor2)

    I had to deactivate both Swift Performance Lite and Swift Performance Extra in order to get my homepage working again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Homepage not working’ is closed to new replies.