Jump to content
Sign in to follow this  
admin_mdp12

very slow website and very slow wp admin

Recommended Posts

admin_mdp12    2
admin_mdp12

I've read many topics on this issue, but I can't find the same situation and a good solution:

my website is www.realwayoflife.com

 

both the public website and the wordpress administration are very slow

 

the hosting is bluehost, the basic shared hosting

they told me that the website is slow due to image size and caching, but they can't explain why also the wp-administration is slow

 

I reduced the active plug-ins, but nothing changed

 

I will try a caching plug-in (but I think it can solve only the website frontend) 

 

can you help me?

 

thanks

 

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

When an image is called during a visitor's browsing, or multiple images, such as a slider, plus all the rest of the CSS, many PHP process are triggered.  If the hosting is set to a standard 32Mb PHP memory allocation, that can easily fill, slowing the entire site down.  Remember your Dashboard (admin) is part of your site just as much as the front page and your posts or pages.

 

Examine the size of the images you're using and don't rely upon WordPress or PageLines to scale them down to fit.  In Features, don't use Aspect Ratio, but resize the images in a graphics editor to a standard size and use Static Height.   Don't use gigantic images in posts or pages.  Resize to fit in a graphics editor.  IE doesn't even try to rescale images. It shows what it sees.

 

If you have just two images each of 3Mb in size, that's already 6Mb of your allocation because PHP has to scale them. If just five people browse your site, you're already at 30Mb, not counting the PHP code for the rest of the pages, slowing, and eventually crashing your site.

 

Ask BlueHost to increase the PHP allocation to 128Mb.  Or, upgrade to a more feature-rich account. Meanwhile, control your images.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob    547
Rob

I'm still trying to load it. Extremely slow.

 

Your slider images are 780px wide, but you have the slider at over 900px, forcing the browser AND the server to stretch the images. Not a good thing to do. 


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
admin_mdp12    2
admin_mdp12

thank you! Now it's clear the relation beetween images and wp-admin. I will work at image size and ask bluehost more php allocation.

 

Is not clear to me (forgive me, I'm a psychologist, not a webpro) how I can set slider dimension... is it based on the section width where I place it?

If I use static height the image is shown partially on mobile device... can I avoid this problem?

 

thank you!

Share this post


Link to post
Share on other sites
admin_mdp12    2
admin_mdp12

just another hint:

I noticed in wordpress dashboard 528 comments, but in reality only 20 are real... may be a database problem? 

 

thank again

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

Your Features slider is added, presently, to a Page Template.  You can place it within the Content Area via Dashboard > PageLines > Drag & Drop.

 

However, since your images are smaller than the current width, they may end up being larger than the Content Area. You can use CSS to set the width of the features slider in the current template to match the width of the slides.  This too, will render the slider fixed and not responsive.

 

My suggestion is to modify the images or replace them with images that fit the slider, no matter where you place it.

 

On the comments, yes, you can be under a Bot attack.  Clear the comments file and make sure you have used Akismet (with a key they provide).

 

Check your comment settings at Dashboard > Settings > Discussion to tighten up security and require registration, but make that subject to your approval.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
admin_mdp12    2
admin_mdp12

Very useful Rob!!!! 

only one last request: how can I clear the comments file?

Share this post


Link to post
Share on other sites
Rob    547
Rob

It's not a file.

 

Go to Dashboard > Comments > All Comments. Select the ones that are not real.  To make it faster, there is a light grey box in the heading bar.  Click that and it checks all the comments on that page. If they're all fake, select Delete permanently from the drop down list and proceed. Repeat till all the bad comments are removed. Check this at least once weekly and most likely they'll stop.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
admin_mdp12    2
admin_mdp12

I've already tried what you suggest to me... but when I clic "all comments" I see only the 20 real comments... (the numbers 528 appears only in the summary of the homepage of wordpress admin)... may be the other 508 are hidden in a file?

Share this post


Link to post
Share on other sites
Rob    547
Rob

Go to All Comments.  They may be listed as trash or spam. 


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob    547
Rob

Some visual guidance....

post-6-0-80813000-1371487338_thumb.jpg

post-6-0-20720800-1371487347_thumb.jpg

post-6-0-82261800-1371487354_thumb.jpg

 


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
admin_mdp12    2
admin_mdp12

thanks for the visual support, but in the first imagine you send me I see 528 comments

in the second, selecting "all" only 25... 3 spam and 0 trash...

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

hello mdp12 

 

Can you take a screenshot of what you can see please? 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
James B    436
James B

If you click on the link in the main dashboard to the 500+ comments it should take you to the page showing all of them? Is it redirecting you and only showing 20 when you get there?

 

The only other option I can think of would be to go in manually and wipe the comments from database - http://www.lancelhoff.com/mass-delete-wordpress-comments/


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
admin_mdp12    2
admin_mdp12

thank you James!

 

following your instruction I discovered that all that comments are from Jigoshop, related to customer orders....

 

Yesterday night I changed a lot of setting following your (and your colleagues) suggestions, but nothing changed... this morning suddenly the website is working good!

I think there is a latency for changes to take effect...

 

thank you all for the support! 

Share this post


Link to post
Share on other sites
James B    436
James B

You're welcome, glad it worked :-)


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
    • JawDesigns
      By JawDesigns
      Hi to all,
       
      Last night I looked at using Flipper to load specific pages with a meta key and value applied. This has all worked well but for some reason the posts (pages) are loading slowly compared to other web elements on my web page.
       
      Could someone please take a look and let me know how I can speed it up? Everything else on the page loads quickly. It just takes a few more seconds to load the posts: http://www.jawdesigns.co.uk/portfolio/
       
      Kind regards,
       
      James Wilson
    • jagipson
      By jagipson+
      I was curious why our video is loading so slow on our site we are working on http://pharmacistrecruitersusa.com/
      When its finally up and running it runs smooth, but until it loads it just a blank white screen. This is just a sample video as well, low quality. Its going to take forever to load when we get a better quality video in place of it.
       
      So why is it taking so much time to load?
      Is there a program or settings you suggest to make the video load quicker?
       
      I used after effects to render out my mp4 and then used a convertor for the webm and ogg
       
       
    • outtareach
      By outtareach
      Installed and updated the plugin and could barely use wordpress.  I did a scan and the speed was a D, I deactivated it and deleted it and now performance is better and backend loads better.  Uninstalled all other plugins til I got to that and it is what was slowing site down.  Just wanted to let you know.
    • _jack
      By _jack+
      Hello all,
       
      Just launched a site and its super slow so trying to clean it up.  One thing I have found is a bit of unnecessary javascript in the footer in an invisible text box.  It is not showing up in the editor and I have looked in every file to see how i can delete this but with no luck.  
      The code is: 
       
      // <![CDATA[   (function() {     var th = document.createElement('script'); th.type = 'text/javascript'; th.defer = true;     th.src = 'https://web-shop.th-apps.com/external/iframe.js';     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(th, s);   })(); // ]]>   Website: http://www.tallyhocycletours.com   Any ideas?   The site is currently running through CloudFlare hence the rocketscript.   Other suggestions on how to make this run faster would be appreciated!   Thanks,   Jack 
×