millllan
Forum Replies Created
-
Nah, running this is not safe it breaks file permissions, my pngs are not showing on the website, and they are there in the right folder on cpanel… optimized ??
I end up installing optipng and running it recursively on the whole /home/ directory. Hopefully it wont cahnge the file permissions
cd /home/
## Overwrite images ##
## Keep file system permission and make a backup of original PNG (see options below) ##find -name ‘*.png’ -print0 | xargs -0 optipng -nc -nb -o7 -keep -preserve -log optipng.log
Its a mixture of what i found here : https://www.cyberciti.biz/faq/linux-unix-optimize-lossless-png-images-with-optipng-command/ and here: https://blarg.co.uk/blog/recursively-optimize-png-files
I’ve tried it
ln -sf /home/wtmmeuk/www/ /home/lmorguk/public_html/wp-content/
created symlink … i could browse into /home/lmorguk/public_html/wp-content/www/ from ssh, it would redirect me to /home/wtmmeuk/www/But on ewww it just gave infinite “Scanning, this could take a while”
Than i tried to open that symlink trough cpanel … and it just gave me “This directory is empty.” message.
All this makes me think its permissions issue … wordpress is running under some limited account (lmorguk in my case) that cant follow symlink to another users folder, but root can
I dont know if i could install wp under root account on whm, that would propably work
I dont know if i can make symlink outside of curent user home folder … would it make file permission problems afterwards ?
So the idea is too make symlinks to folders i want to optimize, all this using root account over ssh
I’ll try it when i find the time … but i dont even know how to create symlinks in shell
Other way I wanted to try is to use all these tools like optipng, pngout while using root account but this would definitely create file permission problems afterwards
Forum: Plugins
In reply to: [EWWW Image Optimizer] .webp on wamp problemBoth moduls are enabled, but no luck for me… i tried with some other rules that i googled out but nothing … too bad
Also an suggestion, is it possible that ur plugin runs conversions processes on lower processor priority? It would be a nice option
Forum: Plugins
In reply to: [EWWW Image Optimizer] .webp on wamp problemapache is running under SYSTEM user (as windows service) … windows file security is set so everybody has RW access
httpd.conf is set like this :
<Directory “c:/wamp/www/”>
Options Indexes FollowSymLinks
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>Forum: Plugins
In reply to: [EWWW Image Optimizer] .webp on wamp problemi removed them and now i can access to both png and webp …
Forum: Plugins
In reply to: [WP News Bulletin] Open in parent page instead of popup windowthat would be great, especialz on mobile devices, since the popup doesnt work very well on small screen