WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Related Posts
[resolved] waiting for cloudfront.net (4 posts)

  1. margje
    Member
    Posted 1 year ago #

    Hi,

    Sometimes, When a page is loadingon Etsy kind of hangs for a second, and in the status bar of my browser I see this line:

    waiting for dtmvdvtzf8rz0.cloudfront.net

    What's the problem?

    Thanks in advance!

    http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/

  2. silvoslaf
    Member
    Plugin Author

    Posted 1 year ago #

    Hey @margje!

    Hm, this does look a bit weird, yes! Do you mind sending us the link to the blog in questions, so we could have a look at it ourselves? We'd really appreciate it!

    Thanks for this heads up and I'm looking forward to your reply! Take care!

    Best,
    Silvo

  3. margje
    Member
    Posted 1 year ago #

    Thanks for your reply Silvo,

    I noticed a loading delay with those domains:

    waiting for d.related-posts.com
    waiting for sre.related-posts.com
    waiting for dtmvdvtzf8rz0.cloudfront.net

    The weird thing is that delay is sporadic (not always).

    You can check this URL: http://goo.gl/F1fyL

    Another issue is that the related posts are not visible at the main website, but only at articles. What's the problem?

    Thanks for your time Silvo.

    M

    You

  4. silvoslaf
    Member
    Plugin Author

    Posted 1 year ago #

    Hey @margje!

    Well, we took a really deep look into this situation we have with cloudfront.net & Amazon and unfortunately came to the conclusion, that there's simply nothing that we could do. The service provided by Amazon is currently the only one which can effectively run our overall product and everything beyond that is out of our reach. Objectively speaking — we doubt that much can be changed on that front, I'm afraid.

    As for that second thing, about your related posts on your main homepage — go to your WordPress's Dashboard under the tab 'Appearance'-'Editor' and choose your theme in the upper right corner (if I'm not mistaken, it's called "Twenty Twelve"). Now click on the 'content.php' file, which you can find on the right hand side of your screen. After that, search for the following code in the code editor:

    <div class="entry-content">
    			<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
    			<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    		</div><!-- .entry-content -->
    		<?php endif; ?>

    Now that you have found this, just add the following code line at the end of it:

    <?php wp_related_posts()?>

    So, to sum it up, the whole thing should look like this:

    <div class="entry-content">
    			<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
    			<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    		</div><!-- .entry-content -->
    		<?php endif; ?>
    		<?php wp_related_posts()?>

    Remember to click on the 'Update File' button when you're finished. Visit your blog, refresh the whole page and you should be able to see those related posts over there.

    Did it work? Need any further assistance or do you have any other questions? Let me know — I'll gladly help!

    Take care & have a nice day!

    Best,
    Silvo

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic