• I am at a loss…

    I am in the process of migrating a small wordpress installation from my temporary server to the client’s new server. Everything seems to work fine, except that the hard coded content on my main index template has disappeared.

    When I first imported my WordPress backup XML file, the content on the main page was duplicated. I figured that since the same copy is also contained on the “About” page, there might be something there that was interfering.

    Sure enough, the new WP installation’s default About page was still there, thus renaming my About page’s permalink to “about-2.” I deleted the default page and renamed my page’s permalink to “about,” but then ALL of the copy on the main index page disappeared.

    I have the content on that page hard coded because I didn’t want to have the About page as my static home page (Client doesn’t want the headline title to appear on the main page).

    I’m sure there’s a way to have the main index page only display the body copy of my About page (if you could tell me, I’d appreciate it), but my previous solution worked just fine on my temporary server.

    Could it be because the new server is still on PHP4, or maybe because it is still on a temporary URL? Any ideas on how to get it working again?

    Thanks!

    Here are the two pages:
    Temporary — http://www.mbapr.com/clients/germanday/
    New — http://germanday.lgrcreative.com/

    The code on the two page templates is identical…

    <?php
    /**
     * @package WordPress
     * @subpackage Default_Theme
     */
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    
    <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    <div id="page">
    
    	<div id="container">
    
    	<div id="sidebar">
    	<div style="height:335px;width:160px;position:relative;overflow:hidden;float:left;display:inline;margin:10px 0 0 36px;">
    	<object type="application/x-shockwave-flash" data="images/sidebar.swf" width="160" height="335">
    	<div id="flashContent">
    	<p>Install Flash.</p>
    	<a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" /></a></div>
    	<param name="movie" value="images/sidebar.swf" />
    	<param name="quality" value="high" />
    	<param name="bgcolor" value="#ffffff" />
    	</object>
    </div>
    	<p style="text-align:center;"><a href="pioneer-ball"><img src="images/WinTickets.png" alt="4" name="Win tickets from Lufthansa" width="160" height="138" id="image4" border="0" /></a></p>
            </div>
    
    		<div id="header">
    		  <a href="<?php echo get_option('home'); ?>/"><img src="images/GDT_logo.png" style="float:left;padding:20px 0 0 10px;" border="0" /></a>
    		  <p class="navigation" style="text-align:right;"><a href="contact-us" style="color:#000;">CONTACT US</a><br />
    		  <span>
    			<a href="<?php echo get_option('home'); ?>/">HOME</a>
    			  &nbsp;&nbsp;|&nbsp;&nbsp;
    			<a href="history">HISTORY</a>
    			  &nbsp;&nbsp;|&nbsp;&nbsp;
    			<a href="sister-cities">SISTER CITIES</a>
    			  &nbsp;&nbsp;|&nbsp;&nbsp;
    			<a href="pioneer-ball">PIONEER BALL</a>
    			  &nbsp;&nbsp;|&nbsp;&nbsp;
    			<a href="donations">DONATIONS</a>
    		</span>
    		</p>
    		</div>
    
    	<div id="content">
    
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    		<div class="post" id="post-<?php the_ID(); ?>">
    		<p>&nbsp;</p>
    		<!--<h2><?php the_title(); ?></h2>-->
    			<div class="entry">
    				<p>“German Day in Texas,” recognized both nationally and internationally, was established to commemorate the arrival of the first German settlers and acknowledge the contributions made by Texans of German descent. Founded unofficially in 1889 to pay tribute to heroic German pioneers, its initial short run lasted until 1910.</p>
    
    <p>It wasn’t until 1963 that the celebration became an officially recognized state institution. The first German Day Proclamation was issued on October 6th, the day German settlers landed in America. Today, “German Day in Texas” salutes German states and cities of Texas and Germany. It also hosts the annual Pioneer Ball, which honors Texas-German heritage, the re-unified Federal Republic of Germany and the fall of the Berlin Wall.</p>
    
    <p>The Texas German Day Council, which is seated in Dallas, was founded to organize and celebrate “German Day in Texas.” It is composed of representatives from German-American organizations in Texas, whose goal is to foster mutual understanding and collaboration between German and American cultures.</p>
    
    			</div>
    		</div>
    		<?php endwhile; endif; ?>
    	<p>&nbsp;</p>
    	<p>&nbsp;</p>
    	<p>&nbsp;</p>
    
    	<div style="clear:both;"></div>
    
    	</div>
    	</div>
    
    	<div id="footer">
    
       	  <div class="section_header">Sponsors</div>
    
    		  <div id="sponsors">
    		  	<p>
    		  	<a href="http://www.lufthansa.com/" target="_blank"><img src="images/lufthansa.png" width="175" height="34" alt="Lufthansa" border="0" /></a>
    		  	<a href="http://www.myahc.com/" target="_blank"><img src="images/ah_consulting.gif" width="73" height="38" alt="A&H Consulting" border="0" /></a>
    		  	<a href="http://www.germandeli.com/" target="_blank"><img src="images/german_deli.gif" width="135" height="32" alt="German Deli" border="0" /></a>
    		  	<a href="http://www.prudentmoney.com/" target="_blank"><img src="images/prudent.gif" width="100" height="48" alt="Prudent Money" border="0" /></a>
    			<br />
    			<a href="http://www.dallasgoethecenter.org/" target="_blank">DALLAS GOETHE CENTER</a>
    		             &nbsp;&nbsp;
    		        <a href="http://www.henksblackforestbakery.com/" target="_blank">HENK’S EUROPEAN DELI & BLACK FOREST BAKERY</a>
    		             &nbsp;&nbsp;
    			<a href="http://www.gacofdallas.com/" target="_blank">GERMAN AMERICAN CLUB OF DALLAS, INC.</a>
    		             &nbsp;&nbsp;
    			<a href="http://www.bavarianbakeryandcafe.com/display/home.asp" target="_blank">BAVARIAN BAKERY & CAFE</a>
    		        <br />
    			<a href="http://www.deepsushi.com/" target="_blank">DEEP SUSHI</a>
    		             &nbsp;&nbsp;
    			<a href="http://www.kubys.com/" target="_blank">KUBY’S SAUSAGE HOUSE</a>
    		             &nbsp;&nbsp;
    			<a href="http://www.swissclubdallas.org/Swiss_Club/Welcome.html" target="_blank">THE SWISS CLUB OF DALLAS & NORTH TEXAS</a>
    		             &nbsp;&nbsp;
    			<a href="http://www.shopautobahn.com/" target="_blank">AUTOBAHN MOTOR GROUP FT. WORTH</a>
    		             &nbsp;&nbsp;
    			<a href="http://www.bavariangrill.com/" target="_blank">BAVARIAN GRILL</a>
    		             &nbsp;&nbsp;
    			<a href="http://www.mieleusa.com/usa/about_us/index.asp?nav=5&snav=5&tnav=5&oT=18" target="_blank">MIELE</a></p>
    		  	</p>
    		  </div>
    
    	</div>
    </body>
    </html>
  • The topic ‘Hard Coded Content Disappeared After Import’ is closed to new replies.