Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter thinqbali

    (@thinqbali)

    I have got a message – Failed to send your message. Please try later or contact administrator by other way.

    Thread Starter thinqbali

    (@thinqbali)

    may be need to change smth in header.php?

    Thread Starter thinqbali

    (@thinqbali)

    I tried Platinum SEO Pack and SEO Ultimate. No difference

    Thread Starter thinqbali

    (@thinqbali)

    tried, but didn’t help. Moreover seems to me flickr plugin stopped working too, put photo set in vertical line.
    https://www.thinqbali.com/bali-eco-tourism/

    – switching to the default theme to rule out any theme-specific problems?

    just swith to WordPress Default? How it will effect on another theme which I am using?

    Thread Starter thinqbali

    (@thinqbali)

    Thread Starter thinqbali

    (@thinqbali)

    I found out the reason,that is because my site has too many pages, about 1270 pages. when wordpress does init work, It calls a method named main(),you can find this method in “wp-includes/class.php” line 488. In this method it calls another method that causes the site so slow, that is “$this->parse_request($query_args);” line 490. this method does some url analysis work. I don’t know exactlly the analysis rules, but the numbers of analysis result is about 14200, and this really wastes a lot of time.

    Here is just a small part of the analysis result data, just for your information:
    [ngg_tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?ngg_tag=$matches[1]&feed=$matches[2]
    [ngg_tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?ngg_tag=$matches[1]&feed=$matches[2]
    [ngg_tag/([^/]+)/page/?([0-9]{1,})/?$] => index.php?ngg_tag=$matches[1]&paged=$matches[2]
    [ngg_tag/([^/]+)/?$] => index.php?ngg_tag=$matches[1]
    [robots\.txt$] => index.php?robots=1
    [.*wp-atom.php$] => index.php?feed=atom
    [.*wp-rdf.php$] => index.php?feed=rdf
    [.*wp-rss.php$] => index.php?feed=rss
    [.*wp-rss2.php$] => index.php?feed=rss2
    [.*wp-feed.php$] => index.php?feed=feed
    [.*wp-commentsrss2.php$] => index.php?feed=rss2&withcomments=1
    [bali-blog/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
    [bali-blog/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
    [bali-blog/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
    [bali-blog/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
    [bali-blog/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2]
    [(bali-blog)/trackback/?$] => index.php?pagename=$matches[1]&tb=1
    [(bali-blog)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2]
    [(bali-blog)/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2]
    [(bali-blog)/page/?([0-9]{1,})/?$] => index.php?pagename=$matches[1]&paged=$matches[2]
    [(bali-blog)/comment-page-([0-9]{1,})/?$] => index.php?pagename=$matches[1]&cpage=$matches[2]
    [(bali-blog)(/[0-9]+)?/?$] => index.php?pagename=$matches[1]&page=$matches[2]
    [canggu-accomodation-search-results/attachment/([^/]+)/?$] => index.php?attachment=$matches[1]
    [canggu-accomodation-search-results/attachment/([^/]+)/trackback/?$] => index.php?attachment=$matches[1]&tb=1
    [canggu-accomodation-search-results/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
    [canggu-accomodation-search-results/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$] => index.php?attachment=$matches[1]&feed=$matches[2]
    [canggu-accomodation-search-results/attachment/([^/]+)/comment-page-([0-9]{1,})/?$] => index.php?attachment=$matches[1]&cpage=$matches[2]
    [(canggu-accomodation-search-results)/trackback/?$] => index.php?pagename=$matches[1]&tb=1
    [(canggu-accomodation-search-results)/feed/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2]
    [(canggu-accomodation-search-results)/(feed|rdf|rss|rss2|atom)/?$] => index.php?pagename=$matches[1]&feed=$matches[2]
    [(canggu-accomodation-search-results)/page/?([0-9]{1,})/?$] => index.php?pagename=$matches[1]&paged=$matches[2]
    [(canggu-accomodation-search-results)/comment-page-([0-9]{1,})/?$] => index.php?pagename=$matches[1]&cpage=$matches[2]
    [(canggu-accomodation-search-results)(/[0-9]+)?/?$] => index.php?pagename=$matches[1]&page=$matches[2]

    It seems with the growing of our pages, the analysis data will also became more and more, my site will become slower and slower, I don’t know what shall I do now, anybody has any ideas please feel free to tell me,

    Thread Starter thinqbali

    (@thinqbali)

    I removed all unwanted theme plugins
    Installed WP Total Cache plugin, but seems to me it didn’t help.

    What I can do more?

    Thread Starter thinqbali

    (@thinqbali)

    thanks a lot guys, I will try everything and get back to your with result.

    Thread Starter thinqbali

    (@thinqbali)

    Here is the code:

    <?php
    /*
    Template Name: Property Locations
    */
    ?>

    <?php get_header(); ?>

    <?php
    if (have_posts()) : while (have_posts()) : the_post(); ?>
    <!–Listing Hotels on Homepage–>
    <div id=”latest-posts”>
    <div>
    <h1><?php the_title();?>
    </h1>
    <?php the_content(); ?>
    </div>
    <?php

    endwhile; else: ?>
    <?php endif; ?>

    <?php
    $page_title = $post->post_title;

    //$sql = “SELECT * FROM property_details WHERE property_location = ‘” . $page_title . “‘ AND publish=’t'”;
    $sql = “SELECT DISTINCT official_star_rating,self_rating,property_name,id,login_id,property_location,property_description
    FROM property_details pd, property_images pi, room_details rd WHERE rd.property_id=pd.id AND property_location = ‘”. $page_title .”‘ LIMIT 3 “;

Viewing 9 replies - 1 through 9 (of 9 total)