fronar
Forum Replies Created
-
Right now SSL setting is set to full(strict) and i deleted the part written by really simple ssl plugin at htaccess.
I found what caused the problem. I accidentally changed my SSL setting to flexible mode on Cloudflare. (I needed to use flexible for another site, I didn’t pay much attention to the site names when I was sleepy at night.)
I think the problem is completely fixed now. Can you check again?
At the same time, the problem of the rankmath plugin not updating itself seems to have been fixed.# BEGIN rlrssslReallySimpleSSL rsssl_version[4.0.15] <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP:CF-Visitor} '"scheme":"http"' RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] </IfModule> # END rlrssslReallySimpleSSL # BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # BEGIN WP Cloudflare Super Page Cache # The directives (lines) between "BEGIN WP Cloudflare Super Page Cache" and "END WP Cloudflare Super Page Cache" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_expires.c> ExpiresActive on ExpiresByType application/xml "access plus 0 seconds" ExpiresByType text/xsl "access plus 0 seconds" </IfModule> <FilesMatch "\.(xml|xsl)$"> <IfModule mod_headers.c> Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0" </IfModule> </FilesMatch> <FilesMatch "robots\.txt"> <IfModule mod_headers.c> Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0" </IfModule> </FilesMatch> <FilesMatch "\.(css|js|pdf)$"> <IfModule mod_headers.c> Header set Cache-Control "public, must-revalidate, proxy-revalidate, immutable, max-age=2592000, stale-while-revalidate=86400, stale-if-error=604800" </IfModule> </FilesMatch> <FilesMatch "\.(jpg|jpeg|png|gif|ico|eot|swf|svg|webp|avif|ttf|otf|woff|woff2|ogg|mp4|mpeg|avi|mkv|webm|mp3)$"> <IfModule mod_headers.c> Header set Cache-Control "public, must-revalidate, proxy-revalidate, immutable, max-age=31536000, stale-while-revalidate=86400, stale-if-error=604800" </IfModule> </FilesMatch> <IfModule mod_rewrite.c> RewriteCond %{REQUEST_URI} ^(.*)?/wp-content/wp-cloudflare-super-page-cache/mydesignbag.com/debug.log(.*)$ RewriteRule ^(.*)$ - [F] </IfModule> <FilesMatch "wp-cron.php"> <IfModule mod_headers.c> Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0" </IfModule> </FilesMatch> # END WP Cloudflare Super Page Cache # MalCare WAF <Files ".user.ini"> <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> </Files> # END MalCare WAF # BEGIN Robin Image Optimizer Webp # The directives (lines) between "BEGIN Robin Image Optimizer Webp" and "END Robin Image Optimizer Webp" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. # END Robin Image Optimizer WebpThats how my htaccess is. It seems that the rules that the plugin should add have been added.
Here’s the working services on the server: https://i.ibb.co/60jw43p/Screenshot-5.png
these are default services by the way, i just installed redis on this.
Cloudways gives the answer to this question as “both apache and nginx are used together on our servers”. If it’s Apache, I don’t need to do anything, for nginx I need to add code (already added) but I don’t understand why it doesn’t work. I’m super confused at this point.
My website adress is: mydesignbag.com
if you can check it for me, I would be grateful. Thank you for all your help.
Based on the information in the FAQ, I turned off the varnish cache. I activated it again with the 8080 port. It works seamlessly.
“Can I use this plugin together with Varnish Cache?”
“Yes but you don’t need it. If you want to use a standard page cache behind Cloudflare, enable the fallback cache option of this plugin.In order to avoid conflicts, it is strongly recommended to use only this plugin as page caching system.”
—————————————————————————
I found the file that you mentioned./wp-contnetnt/wp-cloudflare-super-page-cache/<domain-name>/
nginx.confPlugin automatically added all the rules that needed to be added. I checked them all. Here’s whats written in it if you want to check:
location ~* \.(xml|xsl)$ { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; } location /robots.txt { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; } location ~* \.(css|js|pdf)$ { add_header Cache-Control "public, must-revalidate, proxy-revalidate, immutable, max-age=2592000, stale-while-revalidate=86400, stale-if-error=604800"; expires 30d; } location ~* \.(jpg|jpeg|png|gif|ico|eot|swf|svg|webp|avif|ttf|otf|woff|woff2|ogg|mp4|mpeg|avi|mkv|webm|mp3)$ { add_header Cache-Control "public, must-revalidate, proxy-revalidate, immutable, max-age=31536000, stale-while-revalidate=86400, stale-if-error=604800"; expires 365d; } location /wp-cron.php { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; } location = /wp-content/wp-cloudflare-super-page-cache/websitename.com/debug.log { access_log off; deny all; }I tried restarting nginx alone, then the whole server. Still i see the error on page test tools i don’t know why.
– ALready clearly explained in the FAQ sections (both in plugin description and the FAQ tab in the plugin settings). Do read the plugin description and the FAQ tab inside the plugin settings:
I think you don’t fully understand this part. I am aware that the parameter I see is the way the plugin works, but what I really meant was that I did not see this parameter in every url while navigating the admin panel. Is it normal that I don’t see it in every url or should it be in all?
Thank you for your help, I will be looking forward to your next reply.