moved wordpress site to rackspace cloud, now custom queries breaks code
Posted
by
nikki
on Server Fault
See other posts from Server Fault
or by nikki
Published on 2012-11-07T02:26:54Z
Indexed on
2012/11/07
5:02 UTC
Read the original article
Hit count: 427
Moved a wordpress site onto a rackspace account from a linux server. Everything is working except for any custom post queries that I programmed. these were working just fine before, and I have tested to make sure it is these queries that is breaking the code. For example here is a snippet that will make the page not load
<?php query_posts( "p=215" ); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<? the_content(); ?>
<? endwhile; endif; wp_reset_query(); ?>
Does anyone have any insights? My thoughts are that the switch to Rackspace account has something to do with it.
© Server Fault or respective owner