I need help. I transfered from my dedicated server all my websites to a VPS with virtualmin.
All my data are good but some pictures now don’t appear: tumbnails, logos - and it s impossible for my client who login, to transfert jpg from the backoffice to the ftp (as it was possible in the past).
I don’t know which permission to change. I m looking for a solution with my friend, nobody can help us.
Ths website is: rt2012attestation.com
To start you should change server/hosting company or check your theme & plugins because there is some big problem going on with your site. Full load is over 1 min: http://gtmetrix.com/reports/rt2012attestation.com/q9ExaSip Page load time: 69.34s
Total page size: 1.66MB
Total number of requests: 110
For the FTP check the ports if they are open and if FTP is running & listening. Next thing check if the files inside the virtual server have right permissions, especially pay attention for user and groups. For example if you upload everything as root user then all files/folders inside that virtual server will be owned by root what will prevent virtual server admin to actually change or edit anything. This is because other accounts dont have permission to edit/delete/change files owned by root user.
Thanks you Diabolico
Now everything is ok on FTP.
The problem is “the cache levering”. As you told me he web site is very slow.
It not coming from the template but from some setting of php.ini.
I m using wordpress system, is there a specific setting for that?
just take a look on my other website: controlert2012.fr
They started to run slow after i tried to setup :
/etc/php5/apache2/php.ini Configuration for mod_php Manage
/etc/php5/cgi/php.ini Configuration for scripts run via CGI Manage
/etc/php5/cli/php.ini Configuration for command-line scripts Manage
To speed up your WP you should use some caching plugin, many people will say W3TC but i found that WP Super Cache is better and faster (idk up to you, see and test for yourself). Second i would focus on MySQL. Find on google “mysqltuner.pl” and “tuning-primer.sh” and use them to fine tune your DB. If you still have problems cut your plugins and check or even change your theme. Push your JS to load from foother instead of header and compress anything what can be compressed. Once you done then it start real Don Quijote and chasing the windmills, e.g. any further step can help if you know what to do or its just waste of time.
I tested with another website: www.webpagetest.org/result/150619_PK_7896bebe21d53a214638b27510fd48d2/.
How you can see is not great but i suspect is not only your website, to be so slow it could easily be the server - overselling to hell or drivers are close to start failing (or maybe they are not server grade/quality)
Another thing keep to keep in mind sometimes CDN can actually slow down your website instead of speed up, tested and proven so many times. For example, if you have decent/good server located in EU and your goal is people from EU you dont need CDN. Aside of this CloudFlare is not real CDN, if you want something good you will pay and a lot. To support this, check my test website build on WP and without CDN or even SSD: i.imgur.com/WX40WWr.jpg.
My advice revert back any changes and start with my suggestion and see where you will end. Either way you should see what is going on with your websites as right now they are just too slow.
To make you easy start try next settings for MySQL (my.cnf file):
JUST REMEMBER THIS ARE SOME SORT OF DEFAULT SETTINGS AND YOU WILL NEED TO FINE TUNE THEM, ITS USING INNODB NOT MYISAM, AND CHECK THE LINKS TO MATCH YOUR OS. Use both scripts i mentioned earlier in my post but before any change wait at least 24 hours, best results would be 2-3 days (need to repeat until you are satisfied with all results)
If you have more than 8GB i can check if i have some settings for that. But remember this is not optimal, and you will need to spend some time to fine tune your MySQL.