Jimmy Ahyari
Forum Replies Created
-
This is my new post, publish at 19 Oct 2023 12:19 (in UTC+8). A few minutes later, i check google news https://prnt.sc/nQ_FCS2LfkPc and this is correct. 3 minutes ago.
This is because i change post_date_gmt to post_date. If i stick with your post_date_gmt, google will show 8 hours ago.
Hi @numbnerd14,
The link you provided contains a way to “delete” it. Meanwhile I still want to use it. Is there a filter code that can change
post_date_gmt
topost_date
andpost_modified_gmt
topost_modified
.Because by changing it directly in the file in the plugin (
all-in-one-seo-pack\app\Common\Schema\Graphs\Article\Article.php
), then I checked the schema validator, the contents now match the date I want.But this way, if the plugin has an update, then my modifications in the live file will be lost too. That’s why I need the code in the filter function.
Hi @arnaudbroes
Thank you for planning to execute this problem. I’m waiting for further information from you.
Thanks for your support, AIO Team ??
For now, i edit manually all-in-one-seo-pack\app\Common\Schema\Graphs\Article\Article.php and change post_date_gmt to post_date and post_modified_gmt to post_modified
If you have any other solution, let me know. Thanks
Hi @shivamtyagi ,
Would it be possible for you to FTP to your server and check for any static robots.txt files?
There is no static/physical file of robots.txt. Because usually if there is, there will be a warning from your plugin.
If I change the contents of robots.txt, the preview and /robots.txt will also change, except for the sitemap section. In the preview the sitemap always appears. And never once has the sitemap appeared in /robots.txt
If it’s too weird like this, it’s easier to create/use and write directly to a physical file. How to disable robots.txt from you? so that when I create a physical file and it exists, your plugin doesn’t make a fuss about notifying that there is a physical robots.txt file?
edit: oh i found it to disable your robots txt, just toggle switch off custom robots.txt and press x button in right up corner if notification show up tell import or delete physical robots.txt.
Does not matter. I wouldn’t have to waste time troubleshooting if it was just as simple as creating a physical file.
Thanks
- This reply was modified 1 year, 5 months ago by Jimmy Ahyari. Reason: add info
Forum: Plugins
In reply to: [LiteSpeed Cache] X-LiteSpeed-Cache-Control: no-cacheThis morning, i’m checking this url with –head and got hit.. i don’t know why, but cache works now.
curl https://jim.my.id/757/terlalu-banyak-mengelola-blog.php --head
HTTP/1.1 200 OK
Date: Fri, 10 Feb 2023 23:39:41 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
x-powered-by: Niagahoster
x-dns-prefetch-control: on
link: https://jim.my.id/wp-json/; rel="https://api.w.org/"
link: https://jim.my.id/wp-json/wp/v2/posts/757; rel="alternate"; type="application/json"
link: https://jim.my.id/?p=757; rel=shortlink
x-litespeed-cache: hit
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
vary: User-Agent,User-Agent
x-turbo-charged-by: LiteSpeed
CF-Cache-Status: DYNAMIC
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=v0qIgIpqYyNXAuhN7oGhoPpnPj96lFJs0g%2BCwMQGEVSp%2FKn8I81EcNGpfkmaqImDiMzMchSmA0oZUXV6L4Z9E0U%2BHAVn0w%2BS2AzNk0XGPOsHr6gjetZzQ0rSXv8%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 7978af81af889fad-SIN
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400i’ve test in other tools, it hit too. Still confused about this, but today, everything seems ok.
Thanks
Forum: Plugins
In reply to: [LiteSpeed Cache] X-LiteSpeed-Cache-Control: no-cacheThis is what i’ve got when check header:
curl https://jim.my.id/757/terlalu-banyak-mengelola-blog.php --head HTTP/1.1 200 OK Date: Fri, 10 Feb 2023 12:44:24 GMT Content-Type: text/html; charset=UTF-8 Connection: keep-alive x-powered-by: Niagahoster x-dns-prefetch-control: on x-litespeed-tag: 4fe_HTTP.200 link: https://jim.my.id/wp-json/; rel="https://api.w.org/" link: https://jim.my.id/wp-json/wp/v2/posts/757; rel="alternate"; type="application/json" link: https://jim.my.id/?p=757; rel=shortlink x-litespeed-cache-control: no-cache strict-transport-security: max-age=31536000; includeSubDomains; preload x-xss-protection: 1; mode=block x-content-type-options: nosniff vary: User-Agent,User-Agent x-turbo-charged-by: LiteSpeed CF-Cache-Status: DYNAMIC Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=loAemvOxjUsoSePQafFHtCT4Sa%2BK4xV9AVywZnFb01p4SHo5DIXvW%2F%2FPPjua1bMLPRWeYd3%2BSKbcggEwm%2FwuYA773hHP0jckWuV7aoyBKG0IcIOZbxO4%2FfFOj8c%3D"}],"group":"cf-nel","max_age":604800} NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} Server: cloudflare CF-RAY: 7974ef8e793b9ff1-SIN alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
and this is the log:
02/10/23 20:47:27.410 [125.164.97.39:51790 1 oWC] ??</img> ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php 02/10/23 20:47:27.410 [125.164.97.39:51790 1 oWC] Query String: 02/10/23 20:47:27.410 [125.164.97.39:51790 1 oWC] HTTP_REFERER: https://jim.my.id/757/terlalu-banyak-mengelola-blog.php 02/10/23 20:47:27.410 [125.164.97.39:51790 1 oWC] Cookie _lscache_vary: guest_mode:1;logged-in:1;role:99 02/10/23 20:47:27.555 [125.164.97.39:51790 1 oWC] ??</img> No cache due to Admin page 02/10/23 20:47:27.599 [125.164.97.39:51790 1 oWC] [Ctrl] X Cache_control -> private ( logged in user ) 02/10/23 20:47:27.668 [125.164.97.39:51790 1 oWC] [Ctrl] not cacheable before ctrl finalize 02/10/23 20:47:27.668 [125.164.97.39:51790 1 oWC] [Router] get_role: administrator 02/10/23 20:47:27.668 [125.164.97.39:51790 1 oWC] [Core] Silence Comment due to REST/AJAX 02/10/23 20:47:27.668 [125.164.97.39:51790 1 oWC] ??</img> X-LiteSpeed-Cache-Control: no-cache 02/10/23 20:47:27.669 [125.164.97.39:51790 1 oWC] Response headers --- array ( 0 => 'X-Powered-By: PHP/8.0.25', 1 => 'Access-Control-Allow-Origin: https://jim.my.id', 2 => 'Access-Control-Allow-Credentials: true', 3 => 'Content-Type: text/html; charset=UTF-8', 4 => 'X-Robots-Tag: noindex', 5 => 'X-Content-Type-Options: nosniff', 6 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT', 7 => 'Cache-Control: no-cache, must-revalidate, max-age=0', 8 => 'Referrer-Policy: strict-origin-when-cross-origin', 9 => 'X-Frame-Options: SAMEORIGIN', 10 => 'X-LiteSpeed-Cache-Control: no-cache', ) 02/10/23 20:47:27.669 [125.164.97.39:51790 1 oWC] End response
Forum: Plugins
In reply to: [LiteSpeed Cache] X-LiteSpeed-Cache-Control: no-cacheits only private cache because i’m already login. if i check with curl url —head, still no cache. or if you check with online checker like cache-checker*com
Thanks
edit: homepage and pages status “hit”. only post still got “no-cache”. is it because permalink using .php in the end?
- This reply was modified 2 years, 1 month ago by Jimmy Ahyari. Reason: more info added
Forum: Plugins
In reply to: [LiteSpeed Cache] X-LiteSpeed-Cache-Control: no-cacheReport number: CWUBMNWK
Forum: Plugins
In reply to: [pipDisqus - Lightweight Disqus Comments] Not Showing with Newspaper Theme?never mind. i’ve change my plugin to display disqus on newspaper theme. Thanks
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] can’t see statsTry again.. Mine just worked for now..
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] can’t see statsmine also got this problem “cURL error 60: SSL certificate problem: certificate has expired”
Forum: Plugins
In reply to: [SI CAPTCHA Anti-Spam] SI CAPTCHA Anti-Spam and W3 Total CacheHi Invi2003..
In my blog, there is no problems with both the plugin. The only problem I encountered was the first time I install the plugin W3 Total Cache. The problem I get is about file permissions in the
directory / wp-content/plugins/si-captcha-for-wordpress/captcha-secureimage
(should be 777). After I change from 755 to 777, eventually the two plugins can work well:). I use the plugin “SI Captcha version 2.7” with “W3 Total Cache version 0.9.1.3” on my blog (WordPress 3.1); https://ahyari.com/ (You can try to give a comment there;))I hope my response can be a little help for your problems
Sorry if my English is not good: oops: