Title: mpahlmann's Replies | WordPress.org

---

# mpahlmann

  [  ](https://wordpress.org/support/users/mpahlmann/)

 *   [Profile](https://wordpress.org/support/users/mpahlmann/)
 *   [Topics Started](https://wordpress.org/support/users/mpahlmann/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mpahlmann/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mpahlmann/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mpahlmann/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mpahlmann/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mpahlmann/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [WP-o-matic Plugin does not work](https://wordpress.org/support/topic/wp-o-matic-plugin-does-not-work/)
 *  [mpahlmann](https://wordpress.org/support/users/mpahlmann/)
 * (@mpahlmann)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/wp-o-matic-plugin-does-not-work/#post-1354436)
 * It’s probably a browser issue. See this topic:
 * [http://wordpress.org/support/topic/321592?replies=3#post-1384622](http://wordpress.org/support/topic/321592?replies=3#post-1384622)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [can’t configure wp-o-matic](https://wordpress.org/support/topic/cant-configure-wp-o-matic/)
 *  [mpahlmann](https://wordpress.org/support/users/mpahlmann/)
 * (@mpahlmann)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/cant-configure-wp-o-matic/#post-1246185)
 * The problem with the [NEXT] button in the wp-o-matic setup is a browser issue.
 * The plugin developer says it works in Safari and Chrome on the mac platform.
 * On my PC, it worked in Firefox.
 * Try different browsers, one will most likely work.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Moved WP to subfolder – html’s are 404 in root directory](https://wordpress.org/support/topic/moved-wp-to-subfolder-htmls-are-404-in-root-directory/)
 *  Thread Starter [mpahlmann](https://wordpress.org/support/users/mpahlmann/)
 * (@mpahlmann)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/moved-wp-to-subfolder-htmls-are-404-in-root-directory/#post-1331011)
 * esmi, the problem is resolved. Not sure how this happened. Could have been the.
   htaccess. I’ve reloaded my 404 page and it’s displaying now.
 * Thanks for your time, I like your avatar.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Moved WP to subfolder – html’s are 404 in root directory](https://wordpress.org/support/topic/moved-wp-to-subfolder-htmls-are-404-in-root-directory/)
 *  Thread Starter [mpahlmann](https://wordpress.org/support/users/mpahlmann/)
 * (@mpahlmann)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/moved-wp-to-subfolder-htmls-are-404-in-root-directory/#post-1331008)
 * My email subscription functions through a simple php file. Here are its contents:
 * > <?php
   > if(isset($HTTP_POST_VARS[‘realname’])) {
   >  foreach($HTTP_POST_VARS as $item 
   > => $value) { if($value != “”) { $value = stripslashes($value); $value = ereg_replace(‘”‘,”,
   > $value); switch ($item) { case ’email’: # if(preg_match(‘/^[^@\s]+@([-a-z0-
   > 9]+\.)+[a-z]{2,}$/i’, $value)) { $in_email = $value; # } break; case ‘realname’:
   > if($value != “”) { $in_name = $value; } break; } } } $in_name = trim($in_name);
   > $in_email = trim($in_email); $in_str = “”; if(($in_name != “”) || ($in_email!
   > = “”)) { if(!file_exists(“log/subscribers.txt”)) { $in_str = “\”Name\”,\”Email\”\
   > n”; } $in_str .= “\”$in_name\”,\”$in_email\”\n”; $FH = fopen(“log/subscribers.
   > txt”, “a”); fputs($FH, $in_str); fclose($FH); } include “Thank_You.html”; exit;}
   > include “index.html” ?>
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Moved WP to subfolder – html’s are 404 in root directory](https://wordpress.org/support/topic/moved-wp-to-subfolder-htmls-are-404-in-root-directory/)
 *  Thread Starter [mpahlmann](https://wordpress.org/support/users/mpahlmann/)
 * (@mpahlmann)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/moved-wp-to-subfolder-htmls-are-404-in-root-directory/#post-1331002)
 * That was leftover from a previous htaccess file I used to create this one from.
   I’ve removed that line, unfortunately it didn’t resolve the 404 issue.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Moved WP to subfolder – html’s are 404 in root directory](https://wordpress.org/support/topic/moved-wp-to-subfolder-htmls-are-404-in-root-directory/)
 *  Thread Starter [mpahlmann](https://wordpress.org/support/users/mpahlmann/)
 * (@mpahlmann)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/moved-wp-to-subfolder-htmls-are-404-in-root-directory/#post-1330980)
 * Yes, I moved the .htaccess file to the new subfolder.
 * The .htaccess file on my root folder contains this:
 * > RewriteEngine on
   > AddHandler server-parsed .html
   > ErrorDocument 404 /index.html
 * The server-parsed line is there for my server side includes. I also added the
   404 error line to redirect the 404’s to the home page. This is my temporary solution
   to this problem.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Sidebar pushed below footer in single posts with comments](https://wordpress.org/support/topic/sidebar-pushed-below-footer-in-single-posts-with-comments/)
 *  Thread Starter [mpahlmann](https://wordpress.org/support/users/mpahlmann/)
 * (@mpahlmann)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/sidebar-pushed-below-footer-in-single-posts-with-comments/#post-1327699)
 * I found the problem. A missing /div tag in the single.php file, above the <div
   class=”navigation”> near the end of the file.
 * This has been corrected in the updated version of the Black n White theme.
 * [http://wordpress.org/extend/themes/black-n-white](http://wordpress.org/extend/themes/black-n-white)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Sidebar pushed below footer in single posts with comments](https://wordpress.org/support/topic/sidebar-pushed-below-footer-in-single-posts-with-comments/)
 *  Thread Starter [mpahlmann](https://wordpress.org/support/users/mpahlmann/)
 * (@mpahlmann)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/sidebar-pushed-below-footer-in-single-posts-with-comments/#post-1327696)
 * Thanks alchymyth.
 * Below is the comments.php code. On single post pages where comments have been
   posted, the right sidebar gets pushed below the post.
 * I see two open div tags in this code and two close div tags. Let’s see if the
   trouble is here.
 * >     ```
   >     <?php // Do not delete these lines
   >     if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!');
   >     if (!empty($post->post_password)) { // if there's a password
   >     	if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
   >     ?>
   > 
   >     <h2><?php _e('Password Protected'); ?></h2>
   >     <p><?php _e('Enter the password to view comments.'); ?></p>
   > 
   >     <?php return;
   >     	}
   >     }
   > 
   >     	/* This variable is for alternating comment background */
   > 
   >     $oddcomment = 'alt';
   > 
   >     ?>
   > 
   >     <!-- You can start editing here. -->
   > 
   >     <?php if ($comments) : ?>
   >     	<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3>
   > 
   >     <div class="comments-template">
   > 
   >     <ol class="commentlist">
   >     <?php foreach ($comments as $comment) : ?>
   > 
   >     	<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
   >     	<?php echo get_avatar( $comment, 32, identicon); ?>
   > 
   >     <div class="commentmetadata">
   >     <strong><?php comment_author_link() ?></strong>, <?php _e('on'); ?> <a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> <?php _e('at');?> <?php comment_time() ?></a> <?php _e('Said:'); ?> <?php edit_comment_link('Edit Comment','',''); ?>
   >      		<?php if ($comment->comment_approved == '0') : ?>
   >     		<em><?php _e('Your comment is awaiting moderation.'); ?></em>
   >      		<?php endif; ?>
   >     </div>
   > 
   >     <?php comment_text() ?>
   >     	</li>
   > 
   >     <?php /* Changes every other comment to a different class */
   >     	if ('alt' == $oddcomment) $oddcomment = '';
   >     	else $oddcomment = 'alt';
   >     ?>
   > 
   >     <?php endforeach; /* end for each comment */ ?>
   >     	</ol>
   > 
   >     <?php else : // this is displayed if there are no comments so far ?>
   > 
   >     <?php if ('open' == $post->comment_status) : ?>
   >     	<!-- If comments are open, but there are no comments. -->
   >     	<?php else : // comments are closed ?>
   > 
   >     	<!-- If comments are closed. -->
   >     <p class="nocomments">Comments are closed.</p>
   > 
   >     	<?php endif; ?>
   >     <?php endif; ?>
   > 
   >     <?php if ('open' == $post->comment_status) : ?>
   > 
   >     		<h3 id="respond">Leave a Reply</h3>
   > 
   >     <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
   >     <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p>
   > 
   >     <?php else : ?>
   > 
   >     <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
   >     <?php if ( $user_ID ) : ?>
   > 
   >     <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout &raquo;</a></p>
   > 
   >     <?php else : ?>
   > 
   >     <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="30" tabindex="1" />
   >     <label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
   > 
   >     <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="30" tabindex="2" />
   >     <label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
   > 
   >     <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="30" tabindex="3" />
   >     <label for="url"><small>Website</small></label></p>
   > 
   >     <?php endif; ?>
   > 
   >     <!--<p><small><strong>XHTML:</strong> <?php _e('You can use these tags:'); ?> <?php echo allowed_tags(); ?></small></p>-->
   > 
   >     <p><textarea name="comment" id="comment" cols="80" rows="10" tabindex="4"></textarea></p>
   > 
   >     <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
   >     <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
   >     </p>
   > 
   >     <?php do_action('comment_form', $post->ID); ?>
   > 
   >     </form>
   > 
   >     <?php endif; // If registration required and not logged in ?>
   > 
   >     <?php endif; // if you delete this the sky will fall on your head ?>
   >     ```
   > 

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