Viewing 15 replies - 16 through 30 (of 36 total)
  • Thread Starter stellamaris5

    (@stellamaris5)

    Right. I’m in. I’ve connected with mobile network as I have probably locked my ip out over wifi.

    All seems normal now

    (EDIT: you got a post in before the below response. It may still help, though)

    Clear CloudFlare’s cache completely.

    While in Development Mode, make sure you’re trying to login with a cleared browser cache.

    So long as the Page Rule you’ve set up for your login URL is set up correctly CloudFlare would not have any effect on it. So, make sure you have the exact URL for the login page in the Page Rule (no “*”).

    If after doing this you still can’t login:
    1.) Enter Development Mode,
    2.) temporarily delete the Cache Everything directive,
    3.) clear your browser cache, and again try to login.

    If you can login at this point, it is proof positive that the Page Rule for the login URL is somehow not set up correctly. CloudFlare’s Page Rules interface is buggy and sometimes doesn’t actually change the order of rules when you drag and drop them; so be sure to verify the order is correct (after inputting the exact login page URL) by refreshing the page.

    Note: If W3TC was not previously caching the login page it would not start automatically doing so, so I suspect the Cache Everything directive is somehow being applied to the login page, which leads me to lean towards the Page Rule for the login page not being set up properly (EDIT: either this, or your security is blocking login attempts)

    AJ
    P.s. As an aside, you really don’t need ithemes security while using CloudFlare. In fact, it is usually counterproductive.

    Thread Starter stellamaris5

    (@stellamaris5)

    I’ve paused Cloudflare and purged the cache in it.

    Let’s get back to basics, in fact I may get rid of cloud flare completely. (obviously need to set the DNS at my registrar to my original values)

    But I will look at that later once I have tidied my site and W3TC

    Getting your origin in order first is always the best course of action.

    Don’t completely give up on CloudFlare, though. It can help tremendously in a lot of ways so long as it too is properly configured. This is especially true if your intent is to remain on shared hosting.

    Best,
    AJ

    Thread Starter stellamaris5

    (@stellamaris5)

    In fact I have now put DNS record back to my hosting provider and removed my domain from cloud flare. I will play with W3TC only now as I don’t really need CDN etc as this is a local business.

    I may come back to cloudflare later once I sort out the site locally.

    So do you recommend removing iThemes Security when I enable CloudFlare? It has made a lot of changes to my site will those be automatically reverted?

    Thread Starter stellamaris5

    (@stellamaris5)

    Regarding w3tc , I have enabled minify, manual, there is a section saying to add a script and add a stylesheet. do i need to do this or do you recommend doing auto minify?

    Thread Starter stellamaris5

    (@stellamaris5)

    All sorted now, I think.

    Can you take a look?

    Thread Starter stellamaris5

    (@stellamaris5)

    All set up again with http and new cloudflare. Again can’t acces my admin panel. Get page not found after entering creds. Everything else works fine and is blazing fast. Tried the rules with * and / and everything in between. Not sure what to do next.

    https://natureheals.co.uk/wp-admin Apps: Off, Performance: Off, Security: Off, Always online: Off, SSL: Off, Smart Errors: Off, Cache level: Bypass cache

    https://natureheals.co.uk/wp-login Apps: Off, Performance: Off, Security: Off, Always online: Off, SSL: Off, Cache level: Bypass cache

    *natureheals.co.uk/* Cache expiration: 1 Week, Cache level: Cache everything

    Thread Starter stellamaris5

    (@stellamaris5)

    All fixed I am happy to say:)

    \Played with pagerules a bit to get them spot on

    Thread Starter stellamaris5

    (@stellamaris5)

    All fixed I am happy to say:)

    \Played with pagerules a bit to get them spot on

    ??

    Glad it’s working out and that I could help.

    Implementing minification, combining your files, and deferring/asyncing .JS in W3TC will further improve things. If you’re feeling particularly adventurous, you can try handling minification/concatenation with Autoptimize and give inlining your site’s critical, ‘above-the-fold’ CSS a go.

    Question:
    What was it about how you had the login page’s Page Rule set up that was keeping you from logging in?

    AJ

    Thread Starter stellamaris5

    (@stellamaris5)

    I will look into it – thanks for your help here, I am so grateful!

    My pagerules are:

    natureheals.co.uk/wp-admin/* Apps: Off, Performance: Off, Security: Off, Always online: Off, SSL: Off, Smart Errors: Off, Cache level: Bypass cache

    natureheals.co.uk/xxx (xxx being my changed wp-login) Apps: Off, Performance: Off, Security: Off, Always online: Off, SSL: Off, Cache level: Bypass cache

    *natureheals.co.uk/* Rocket Loader: Off, Cache expiration: 8 days, Cache level: Cache everything

    Thread Starter stellamaris5

    (@stellamaris5)

    So if I use Autoptimize, what do I need to turn off in W3TC?

    You would disable minification in both W3TC and CloudFlare.

    In CloudFlare: Performance settings –> Auto Minify (Web Optimization) –> Assets to minify–>: make sure nothing is ticked.

    In W3TC: Performance –> General Settings –> Minify: make sure “enable” is not ticked.

    Be warned: Minification/concatenation is an intermediate-advanced optimization technique. Whether you stick with W3TC for minification/concatenation or incorporate Autoptimize, you are likely to encounter problems. Due to the intermediate-advanced nature of minification/concatenation, the problems that crop-up are therefore also intermediate-advanced and will not be things I can simply talk you through without also taking the time it would require to explain why they occurred in the first place. This would be time I do not have to give.

    Good luck,
    AJ

    Thread Starter stellamaris5

    (@stellamaris5)

    Done and installed auoptimize. Seems all good. Maybe I just got lucky ??

    And… my speed has gone down as well

Viewing 15 replies - 16 through 30 (of 36 total)
  • The topic ‘Not working as people say’ is closed to new replies.