IdeFixx
Forum Replies Created
-
Thanks @patrickposner! Resetting the database and plugin settings was the solution. Fast-view website generation is back on track.
Hey @patrickposner,
I tried the new version
3.2.6, but the problem is still there. Static archive generation still won’t cancel.[2025-02-07 10:23:44] [class-ss-admin-settings.php:724] Received request to cancel static archive generation
[2025-02-07 10:23:44] [class-ss-archive-creation-job.php:268] Cancelling job; job is not done
[2025-02-07 10:23:44] [class-ss-archive-creation-job.php:279] The queue isn't empty; overwriting current task with a cancel task
[2025-02-07 10:25:04] [class-ss-admin-settings.php:724] Received request to cancel static archive generation
[2025-02-07 10:25:04] [class-ss-archive-creation-job.php:268] Cancelling job; job is not done
[2025-02-07 10:25:04] [class-ss-archive-creation-job.php:279] The queue isn't empty; overwriting current task with a cancel taskReactivating the Simply Static plugin and deleting the
wp_archive_creation_job_croncron job didn’t help.The live WP website is behind 401 authorization. I’ve entered the Basic Auth credentials and the “Enable Basic Auth” switch is
ON. No caching plugins or Redis are active. The diagnostics area shows everything is okay.Forum: Plugins
In reply to: [Co-Authors Plus] Shortcode breaks HTMLThank you very much for your help. Your shortcode works.
Forum: Plugins
In reply to: [Co-Authors Plus] Shortcode breaks HTMLProbably it’s related to this pull request https://github.com/Automattic/Co-Authors-Plus/pull/997
Thank you, @mateuszgbiorczyk, for reminding me your tutorial how to test it. It’s really easy to get it working with Simply Static plugin (v. 3.0.9):
- Additional directory must be included in General settings > Include: [your webserver path]/wp-content/uploads-webpc/uploads/
- Copy .htaccess files from non-prod to prod from /wp-content/ and /uploads/
- Test it; e.g. via PageSpeed Insights – Serve images in next-gen formats
That’s it. 😉
P.S.: AVIF image format works too.
- This reply was modified 2 years, 8 months ago by IdeFixx.
@mateuszgbiorczyk Well, not yet, I’ve to check
.htaccessfile with my webhosting provider technical support. Webserver still delivers.jpg/.pngfiles instead of.webpfiles.Here is
.htaccessrule which (should) redirects .jpgto.jpg.webpfiles:RewriteCond %{HTTP_ACCEPT} image/webp RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{DOCUMENT_ROOT}/wp-content/uploads-webpc/$1.jpg.webp -f RewriteRule ^wp-content/uploads/(.+)\.jpg$ /wp-content/uploads-webpc/uploads/$1.jpg.webp [NC,T=image/webp,L]BTW. webhosting is still the same as for non-prod website where’s no problem with .
webpimages.Ah, a complete path to the file must be used.
RewriteRule ^wp-content/uploads/(.*)$ /wp-content/uploads-webpc/uploads/$1.webp [NC,T=image/webp,L]😉
Hi Mateusz,
I believe I’m little bit closer to the final solution. But my knowledge of rewrite rules is just basic (copy/paste – honestly). Could you spare a minute and help me with it, please?
Original image URL example:
https://example.com/wp-content/uploads/image.jpg.htaccess rule:
RewriteCond %{HTTP_ACCEPT} image/webp RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{DOCUMENT_ROOT}/wp-content/uploads-webpc/$1.jpg.webp -f RewriteRule (.+)\.jpg$ /wp-content/uploads-webpc/$1.jpg.webp [NC,T=image/webp,L]Creates this URL:
https://example.com/wp-content/uploads-webpc/wp-content/uploads/image.jpg.webpBut it should be:
https://example.com/wp-content/uploads-webpc/uploads/image.jpg.webpSo, here’s just a slight problem with doubled
/wp-content/in destination URL?BTW. I’ve used
https://htaccess.madewithlove.comto test the htaccess rule above.Thank you so much for a quick and clear answer. I appreciate it.
I will give it a try. 😉
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Sticky posts do not count in the loop?Hi @thelmachido, thank you very much for your kind support. My learning curve on how to use the 2023 theme with Gutenberg rises and yes, that takes some time, but it’s worth it.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Sticky posts do not count in the loop?Hi @thelmachido, thank you for pointing me in the right direction – “Items per page”. Other problems I’ve run into are that:
- Sticky posts are also included on another pages, e.g.
/page/2or/page/3 - URL of these (listing) pages is changed from
/page/2to/?query-0-page=2
So, I left the settings
Inherit query from templateon.Forum: Plugins
In reply to: [Autoptimize] Static site errorsYes, that was it – disabling “wp donottrack” plugin solved errors in the console.
Thank you very much for your help.
OK, thank you for your answer.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Need help with space on pageHi @pyrotaz27.
If it’s just about removing an empty space above the main heading remove the Spacer:
<div style="height:125px;" aria-hidden="true" class="wp-block-spacer"></div>Appearance -> Editor -> Template -> (probably) Blank template -> Edit -> List View on the left -> and there you are able to Remove Spacer; or change its height – see the menu on the right side.
https://pasteboard.co/HMiHnkwgXbyR.png
- This reply was modified 3 years ago by IdeFixx.
Hi, maybe it’s related to this bug “Theme overwrited Global Styles for link colors”: https://core.trac.wordpress.org/ticket/57968