Forum Replies Created

Viewing 15 replies - 31 through 45 (of 55 total)
  • Thread Starter ecronik

    (@ecronik)

    Hello Marko,

    Unfortunately, I can only do Disk and Disk: Enhanced. What would you recommend – to stay on Disk: Enhanced and get by without caching for the AMP pages, or to switch to Disk? Would the tradeoff between the two page caching methods be big or the advantage for the AMP pages? Pagespeed for them is looking really good already. Unfortunately, I can’t use the URL structure without query string for AMP, otherwise the layout of the pages will break.

    Thanks,
    eC

    Thread Starter ecronik

    (@ecronik)

    Hi Milind,

    the problem with query string caching is, that I can’t use it due to my server configuration: That’s why I’ve asked for the change to the /amp/ structure. But as it breaks the layout, I can’t use that either. Do you maybe have any guidance on what I could try to find a possible fix for this?

    Thanks,
    eC

    Thread Starter ecronik

    (@ecronik)

    Hi Milind,

    thanks for your quick reply and also the deeper look into my website! Got the extension now finally working, as I had issues with it before (decreased page speed but this was due the img tag setting).

    One last question: When changing the URL structure from ?amp=1 to /amp/ it completely breaks the layout of the AMP pages (but unfortunately I can’t utilize caching with a query string). Do you have any idea what could be causing this and how to fix it? Or is caching via W3TC actually needed now?

    Thanks again and best regards,
    eC

    • This reply was modified 3 years, 12 months ago by ecronik.
    • This reply was modified 3 years, 12 months ago by ecronik.
    Forum: Plugins
    In reply to: [AMP] AMP & wpDiscuz
    Thread Starter ecronik

    (@ecronik)

    Hello Milind,

    thanks for your answer! I don’t want to use Disqus, but wpDiscuz – can you help me to make this possible and show me a way? Apparently the developers of wpDiscuz can’t do anything about it at the moment.

    Many thanks!
    eC

    Thread Starter ecronik

    (@ecronik)

    Hi Marko,

    thanks for your support! “Don’t cache pages for logged-in users” is active, and also the role option and filter for all roles are activated.

    Caching of query strings is disabled, and object cache has just store transients activated, DB doesn’t cache queries for logged in users.

    Do you have any other idea?

    Thanks,
    eC

    Thread Starter ecronik

    (@ecronik)

    Reverted back from PHP 8.1 to 7.4 and it worked.

    Thread Starter ecronik

    (@ecronik)

    Hey Jeroen,

    the used sitemap URL in W3TC doesn’t seem to be separated/individualized between the languages, so I have to find a way to gather everything in one file.

    Do you maybe know of another plugin for sitemap creation I can run alongside Yoast’s and it’s sitemap creation?

    Thanks again,
    eC

    Thread Starter ecronik

    (@ecronik)

    Hi Marko,

    thanks for your answer and I hope you had a great start into the week!

    Yes, I’m using CF minify. I have three last questions:

    1. Do you maybe have an idea how I can combine the Yoast generated Sitemaps (sitemap_index.xml for domain.com and another one for de.domain.com, pointing to their respective sub files like page-sitemap.xml etc.) to a merged file that dynamically keeps being recent (like includes new pages etc.) for W3TC to use?

    2. Also, when I look into cache < page_enhanced it seems like I have two perfectly filled folders for domain.com and de.domain.com – so it seems like it’s working, even when using a relative path like “/sitemap_index.xml” without the domain etc. for Cache Preload.
    Does this still cause problems on some other aspects under the hood?

    3. When switching from WP-Cron to server-side Cron, and having domain.com and de.domain.com on the same server, in the same folder / WP-installation:
    Is it enough to have the Cron fire with calling https://domain.com/wp-cron.php or do I need to set two jobs, another one for https://de.domain.com/wp-cron.php and have both run simultaneously?

    Thanks again,
    eC

    Thread Starter ecronik

    (@ecronik)

    Hi Jeroen,

    sorry for my late reply and thanks for your answer! It’s not about caching the Sitemap, but rather have a combined sitemap file for maindomain and subdomain (same folder / wordpress installation) to point W3TC to. The plugin needs this to know which pages / posts to Cache Preload.

    Right now, I have domain.com/sitemap_index.xml and de.domain.com/sitemap_index.xml which are the sitemaps for both languages respectively. This is good, but additionally I need a sitemap file that is the combined version of these two.

    Can you help me with a solution for this?

    Thanks and best regards,
    eC

    Thread Starter ecronik

    (@ecronik)

    Hi Marko,

    thanks for your answer! No, I’m not using the WPML extension: To be honest, I never really understood what it does and didn’t need it for the last couple of years, as everything was working OK. Maybe you can enlighten me about the advantages?

    Adding the alias did seem to have fixed the CORS issue in the backend, and an issue I had with WPML is gone now. Wohoo, thanks!! Will keep an eye on this and give an update after test running it for a while.

    Do I still need the entry in the .htaccess now?

    As I have two sitemaps (one for de.domain.com and one for domain.com created via Yoast), will the Preload still work correctly, when I only point it to https://domain.com/sitemap_index.xml ? Or do I need to find a way to combine those two?

    Thanks,
    eC

    • This reply was modified 4 years, 1 month ago by ecronik. Reason: First test with alias
    Thread Starter ecronik

    (@ecronik)

    Hi Marko,

    I’ve disabled Page Cache on General Settings and everything is now working as expected again.

    Here are my Page Cache settings (I’m usung Disk Enhanced): https://pasteboard.co/aH1V0MFT0sQu.jpg

    Do you see anything that could be causing this? Was using this setup for quite a while and just recently it started acting up (weird login redirect loops, and issues staying logged in / switching between languages etc.).

    Thanks,
    eC

    • This reply was modified 4 years, 1 month ago by ecronik.
    • This reply was modified 4 years, 1 month ago by ecronik.
    • This reply was modified 4 years, 1 month ago by ecronik.
    Thread Starter ecronik

    (@ecronik)

    Hi Marko,

    and thanks for your quick reply! I am using CloudFlare (Free Plan). I don’t fully understand your question about the zones, could you explain it a little further?

    I have domain.com and de.domain.com set up at my hoster and pointed to the same folder on the same server (both having an individual SSL Cert though), but the Nameserver for it is pointing to CloudFlare. At CF I have two CNAME records (one domain.com and one de.domain.com) that point to the same server.

    I did modify the .htaccess accordingly, and the problem on the front-end is now gone. But it still shows the issues on the back-end. Any idea how to tackle that?

    When W3TC is disabled, I don’t have the issues there. Could it be that some other settings interfere? This is what W3TC puts automatically for mod_headers.c into the .htaccess:

    <FilesMatch "\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$">
        FileETag MTime Size
        <IfModule mod_headers.c>
            Header set Pragma "public"
            Header append Cache-Control "public"
            Header unset Set-Cookie
            Header set X-Powered-By "W3 Total Cache/2.2.4"
        </IfModule>
    </FilesMatch>
    <FilesMatch "\.(html|htm|rtf|rtx|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|TXT|XSD|XSL|XML)$">
        FileETag MTime Size
        <IfModule mod_headers.c>
            Header set Pragma "public"
            Header append Cache-Control "public"
            Header set X-Powered-By "W3 Total Cache/2.2.4"
        </IfModule>
    </FilesMatch>
    <FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|avif|avifs|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|webm|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|ogv|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|AVIF|AVIFS|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|WEBP|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|WEBM|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|OGV|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|_TTF|WAV|WMA|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
        FileETag MTime Size
        <IfModule mod_headers.c>
            Header set Pragma "public"
            Header append Cache-Control "public"
            Header unset Set-Cookie
            Header set X-Powered-By "W3 Total Cache/2.2.4"
        </IfModule>
    </FilesMatch>
    <IfModule mod_headers.c>
        Header set Referrer-Policy "no-referrer-when-downgrade"
    </IfModule>

    Also, is using Header set Access-Control-Allow-Origin "*" in terms of security an issue?

    Thanks again,
    eC

    • This reply was modified 4 years, 1 month ago by ecronik.
    • This reply was modified 4 years, 1 month ago by ecronik.
    • This reply was modified 4 years, 1 month ago by ecronik.
    • This reply was modified 4 years, 1 month ago by ecronik.
    • This reply was modified 4 years, 1 month ago by ecronik.
    • This reply was modified 4 years, 1 month ago by ecronik.
    Thread Starter ecronik

    (@ecronik)

    Hi @vmarko —

    would be great if you could give me advice on how to properly do this without WP-Cron for my setup.

    Thanks again,
    eC

    Thread Starter ecronik

    (@ecronik)

    In a recent run wordfence_processattackdata “exited” as well, but it shows green. The plugin defines this as follows: “This job completed without errors. Most likely this process was designed to exit early and not go through the full WordPress process. No errors were detected so this is considered a success.”.

    P.S.: Not sure how to interpret this really though. Or would it be better to set one at 9 Minutes and one at 10, so they interfere only once per 1,5h? But that wouldn’t match the requirement for one of the two to have the equal frequency with the Cache Preload interval.

    Thanks,
    eC

    • This reply was modified 4 years, 1 month ago by ecronik. Reason: Splitting Cron intervals?
    Thread Starter ecronik

    (@ecronik)

    Good morning @vmarko

    thanks for the clarification! The server cron is set since yesterday afternoon to the same interval (10 Min) as Cache Preload, but the subdomain de. still is very empty (main is fine). There are some other issues with the subdomain as well.

    Could it be that I have to actually set two Cron jobs server-side? One for https://domain.com/wp-cron.php and another one for https://de.domain.com/wp-cron.php (domains point to the same folder though)? Didn’t manage to get into the WP-CLI topic yet.

    If two jobs make sense, do I simply set both to 10 Mins? Do you have any concerns about calling the same physical file, wp-cron.php, twice at the same time (but via main and subdomain)?

    P.S.: If I set a 2nd Cron every 10 Mins for the subdomain, the subdomain cache folder instantly starts to fill again. But I’m not sure if this is a good practice.

    P.P.S.: w3_pgcache_prime Status from the last run was now “Exited” (the two times before “Completed”) measured with the plugin WP Cron Status. Still shows green, just asking if this is still a positive response.

    Thanks again,
    eC

    • This reply was modified 4 years, 1 month ago by ecronik. Reason: Tried setting two Cron jobs
    • This reply was modified 4 years, 1 month ago by ecronik. Reason: typo
    • This reply was modified 4 years, 1 month ago by ecronik. Reason: Cron status update
Viewing 15 replies - 31 through 45 (of 55 total)