WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Blog Loading too slow (23 posts)

  1. smaan77
    Member
    Posted 2 years ago #

    My blog is @ http://vintageindianpics.in/

    It used to load very slow but my other blog with same theme and same plugins load too fast on same server....

    First I have many plugins on my blog but now I deleted most of them. My Currently used plugins are below ;-

    Enabled Plugins :-

    1. Advertisement Management
    2. Google XML Sitemaps
    3. LinkWithin
    4. P3 (Plugin Performance Profiler)
    5. WordPress.com Stats
    6. WP-Optimize
    7. WP Missed Schedule
    8. Akismet
    9. All in One SEO Pack

    Disabled Plugins :-

    1. HeadSpace2
    2. Platinum SEO Pack
    3. Robots Meta
    4. SEO Post Link
    5. Simple Submit SEO / Social Bookmarking Plugin

    Please help me....

  2. Satrya
    Member
    Posted 2 years ago #

    Try to install cache or minifier plugin

  3. smaan77
    Member
    Posted 2 years ago #

    I installed W3 Total Cache but nothing works sill it takes 10-15sec to load which is too horrible for any site....

  4. adpawl
    Member
    Posted 2 years ago #

    first, try remove this:
    <img width='1' height='1' src='http://vintageindianpics.in/tracker/2407778905179522942-2132762361620871365?l=www.vintageindianpics.in' alt='' />

  5. smaan77
    Member
    Posted 2 years ago #

    this code is in my all posts :(

    How can I remove them from my all posts????

  6. SubLo
    Member
    Posted 2 years ago #

    Are you self hosted? Your own server?

  7. smaan77
    Member
    Posted 2 years ago #

    yes I have a self hosted wordpress blog...

  8. SubLo
    Member
    Posted 2 years ago #

    Well, I'm going to assume it's some flavor of *NIX and Apache/HTTPD you're running. I struggled with the same problem for the first few months. I don't know you're exact setup, but I used an inexpensive Rackspace virtual/cloud server with only 512MB RAM. Now, it's been fine for a long time using Apache Virtual Server on one IP with numerous fast loading Web sites - that is until I threw a WordPress site on it.

    The other sites were fast as hell but my WordPress blog would take a horrifically long 10 - 20 seconds to load each page. Did endless searching. I ruled out the server and MySQL as culprits. I finally came across a post that went over tuning the entire LAMP stack. What did the trick finally for me was to tune my httpd.conf for WordPress - again, although the 6 other sites on the same instance were all super speedy. Here's what I changed in my httpd.conf:

    <IfModule prefork.c>
    StartServers       5
    MinSpareServers    5
    MaxSpareServers   10
    ServerLimit       50
    MaxClients        50
    MaxRequestsPerChild  4000
    </IfModule>
    <IfModule worker.c>
    StartServers         5
    MaxClients         300
    MinSpareThreads     25
    MaxSpareThreads     75
    ThreadsPerChild     25
    MaxRequestsPerChild  2000
    </IfModule>
    KeepAlive Off

    Every situation/server will be slightly different, but this worked for me and completely resolved my slow WordPress issues (after restarting Apache). I also signed up for CloudFare Content Delivery Network (CDN). That seems to have contributed to a slight speed increase as well.

    Good luck.

  9. smaan77
    Member
    Posted 2 years ago #

    Thanks for your help pal but I am a newbie, don't know much about coding. Apache etc. I will try to change the code that you give but can you be some more clear on Cloud Hosting, Apache Virtual Server, Lamp Stack

  10. SubLo
    Member
    Posted 2 years ago #

    Oh boy. Are you hosted on a Windows box or Linux? Sounds like Windows/IIS based on your response. If you're Administering the operating system and Web Server yourself, and don't know what these terms mean, or how to "tune" whatever Web server you may be running, you may need to enlist the help of someone who does - at least initially.

  11. smaan77
    Member
    Posted 2 years ago #

    OK thanks for your help I will somehow manage to do this... I have one more issue on same blog if you can help me on the below topic then I will be very thankful to you...

    http://wordpress.org/support/topic/problem-in-single-post-content

  12. adpawl
    Member
    Posted 2 years ago #

    CDN and others optimisations leave for later.
    Check url's in this style:
    http://vintageindianpics.in/tracker/2407778905179522942-5906207362010591772?l=www.vintageindianpics.in (some statistics?)
    - They return a 404 error .... at the time close to 12sec.
    Fix it or delete it, it probably will solve your problem.

  13. smaan77
    Member
    Posted 2 years ago #

    @adpawl - I have around 300 posts and each post consist a different tracker ID... Is there any way or any plugin by which I can delete all the Tracker ID URL...

  14. adpawl
    Member
    Posted 2 years ago #

    hmmm...
    mayby this plugin http://wordpress.org/extend/plugins/safe-search-replace/
    or filter content by add to file functions.php code like that:

    function fix_tracker($content) {
    	$content=preg_replace('#<img(.+?)vintageindianpics.in/tracker/(.+?)?l=www.vintageindianpics.in(.+?)>#i', '', $content);
        return $content;
    }
    add_filter ('the_content', 'fix_tracker');

    ...or make php script to replace in db using regular expression.

  15. smaan77
    Member
    Posted 2 years ago #

    @adpawl - The code successfully works and removes all the tracker id's but the speed of loading the blog is still 10-12 sec :(

  16. adpawl
    Member
    Posted 2 years ago #

    Yes, the tracker links have been removed, but ...in their place appeared new, eg. http://vintageindianpics.in/aa2407778905179522942-3894525739382942198?l=www.vintageindianpics.in

    look: http://img513.imageshack.us/img513/3999/404vg.jpg

    Check your plugins -maybe one of them insert this.
    ...or you have some malicious code on the page.

  17. smaan77
    Member
    Posted 2 years ago #

    Yes First I tried the plugin but it didn't work... these http://vintageindianpics.in/aa2407778905179522942-3894525739382942198?l=www.vintageindianpics.in is due to the plugin... It all meased up...

    Then I tried with the code and it works.... but now I'm still left with the "aa" code....

    You have any code to remove this??

    Can you please tell me the tool which you use in the below image...

    http://img513.imageshack.us/img513/3999/404vg.jpg

  18. adpawl
    Member
    Posted 2 years ago #

    Check this

    function fix_tracker($content) {
    	$content=preg_replace('#<img(.+?)vintageindianpics.in/(.+?)?l=www.vintageindianpics.in(.+?)>#i', '', $content);
        return $content;
    }
    add_filter ('the_content', 'fix_tracker');

    It's a FireBug

  19. smaan77
    Member
    Posted 2 years ago #

    I install the code but it doesn't removes the "aa" codes but now the time of the site to load is 4-5 sec :)... Thank You Adpawl for your great support...

    I have one more issue with the blog template please check, I am sure This Genius also have some solution for my this problem also ;)

    http://wordpress.org/support/topic/problem-in-single-post-content

    THANK YOU THANK YOU THANK YOU Very Very Much..... :) :) :)

  20. adpawl
    Member
    Posted 2 years ago #

    ups... relative urls ;)

    function fix_tracker($content) {
    	$content=preg_replace('#<img(.+?)?l=www.vintageindianpics.in(.+?)>#i', '', $content);
        return $content;
    }
    add_filter ('the_content', 'fix_tracker');
  21. smaan77
    Member
    Posted 2 years ago #

    Yup... Finally it removes all the code Thank You So much :) And make the blog load Super Fast.......

  22. dlakme
    Member
    Posted 1 year ago #

    I have the same problem. Could anyone please help me to see what's wrong with my blog? I used also the wp3 catche but it's not helping at all. I used quite many plugins.

    http://www.traveljo.com

    Many thanks

  23. selic
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic