alpipego
Forum Replies Created
-
Forum: Plugins
In reply to: [ResizeFly] Resizefly 2.0 troublesYes very strange. I’ll push the changes in a couple of hours, and maybe we’ll get it fixed then.
Sorry for the inconvenience.
Forum: Plugins
In reply to: [ResizeFly] Resizefly 2.0 troublesHi @sanderpiske,
thank you for the bug report. I’ve got good and bad news for you:Good: I have found the bug and I can fix it.
Bad: You’re running a PHP version older than 5.5 ??Thus you won’t be able to use the new version of ResizeFly as it requires at least PHP5.5
Forum: Plugins
In reply to: [MultilingualPress] Hreflang not showing on homepage?Sorry my bad, the customer had not linked the static home pages, since the language switcher defaulted to the home page of the other language.
It gets rid of all the assets that are being added on the front and backend to add polyfills for older browsers that do not natively support emojis. For example, it dequeues this file:
wp-includes/js/wp-emoji-release.min.js?ver=4.8.1
.Forum: Plugins
In reply to: [ResizeFly] NginxThe culprit with nginx is usually a location block like:
# Cache static files location ~* \.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|rss|atom|jpg|jpeg|png|gif|js|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf|swf)$ { add_header "Access-Control-Allow-Origin" "*"; access_log off; log_not_found off; expires max; }
due to this missing assets are not passed back to php/WordPress
if you add a rule above this one that reads
location ~* (jpe?g|png|gif) { try_files $uri $uri/ /index.php?q=$uri&$args; expires max; log_not_found off; access_log off; }
everything will work as expected. I’ll probably add this to the FAQ section, thanks for pointing it out Anthony.
Forum: Plugins
In reply to: [ResizeFly] NginxYes, therefore could you please share your config? nginx and php7 as such are not a problem.
Forum: Plugins
In reply to: [ResizeFly] NginxHi Cerberus,
could you be a bit more elaborate on “Does not work” please? Moreover could you please share your nginx rules concerning png jpeg and gif?Forum: Plugins
In reply to: [ResizeFly] The folder is always empty, its normal?Caching should not really affect this plugin.
In version 1.3.x it is possible that if the image is already on your server in
wp-content/uploads
it won’t get resized (and thus will not be moved to the resizefly folder), since it as already there.The folder should get populated for each new image you add to WordPress.
Forum: Plugins
In reply to: [ResizeFly] The folder is always empty, its normal?Hi @ramonjosegn,
that should not be the case. Have you used the settings in the Backend (Media –> Resizefly) to check if the directory is writeable?To further debug, could you please send me a link to your site?
Thank you.
AlexForum: Plugins
In reply to: [ResizeFly] Image optimisation providers related questionsHi @moxymore,
thank you for your questions.This plugin is only caching the thumbnails in the sense that anything on the filesystem is your cache… That said, there are currently no features that you would expect in a “caching plugin” like cache invalidation etc. Some more information on what the plugin actually does can be found at: https://resizefly.com/how-it-works/
I have not tested the plugin with “Justified Image Grid”. Since that is a premium plugin and thus the source code is not accessible to me I can’t test it.
Generally speaking (not confined to this plugin): I advise against using several plugins that all claim to do the same thing. Test all of the different plugins and then settle on the solution that suits your use case the best. You’re making it easier on yourself and on plugin developers.
I hope that answers your questions, if not feel free to reply.
Best,
alpipegoForum: Plugins
In reply to: [Relevanssi - A Better Search] is_search was called incorrectlyI totally agree that it is most possibly conflicting code in this one.
But you even state it in your code comments that you are not sure if the query is set up correctly (e.g. in ajax calls). I am not changing the query object at all, I am just using the object that gets passed to the filter anyhow. Does not have to be changed at all… but why do you then pass a second parameter to the function that never gets used?
Forum: Plugins
In reply to: [Relevanssi - A Better Search] is_search was called incorrectlyThis would be the version with small changes: https://gist.github.com/alpipego/44496e1e9585d956954fef224f0c31af
Forum: Plugins
In reply to: [Redirection] Redirect entire folderYes that will do it. Can be shortened to
Source URL:
/forum\.php.+
Target URL:https://mysite.com
Forum: Plugins
In reply to: [Redirection] Redirect entire folderIt could look like:
Source URL:
/forum.php(.+)$
Target URL:/folder/$1
That won’t take care of the query string however, so your new url would look like, e.g.
/folder/?funk=room&id=9&site=5&nr=15
Forum: Plugins
In reply to: [Redirection] Redirect entire folderI noticed that you have both
folder1/
andfolder1.php
in your example… is it really like that on your site? Maybe you can paste some real URLs (and remove the domain part if you don’t wish to show that).