Support » Fixing WordPress » Posts in category's missing

  • Jmanig

    (@jmanig)


    Hi there!

    My website Wereld-nieuws is undergoing a big maintenance soon. I will install and configure a new theme.

    The problem:

    Yesterday, i did a database optimalization (didnt check category after this step)

    Today, i changed my domain in settings from http://wereld-nieuws.com, to http://www.wereld-nieuws.com

    After this, i checked my category’s, and all of the posts in those category’s are gone, but i can see them on the front page, archives, and back-end

    Some of the plugins i use:

    SEO by yoast
    Feedwordpress
    WP to Twitter

    I hope we can fix this soon together!

    Best regards,

    Justin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hamed Hosseini

    (@hamed-hosseini)

    hi , go to the “Settings” choose “Permalinks” and switch to “Standard” .

    try this .

    Jmanig

    (@jmanig)

    That didnt resolve the problem 🙁

    Jmanig

    (@jmanig)

    Could it be a template issue?

    I could install our new template, and check if the posts are back on the category pages?

    Jmanig

    (@jmanig)

    Sorry to post again, but maybe this can help anyone out?

    archive.php:

    <?php get_header(); ?>

    <div id=”content”>

    <?php if (is_category()) { ?><h2 class=”arh”><?php _e(‘Archive for’, ‘themezee_lang’); ?> <?php echo single_cat_title(); ?></h2>
    <?php } elseif (is_date()) { ?><h2 class=”arh”><?php _e(‘Archive for’, ‘themezee_lang’); ?> <?php the_time(‘F Y’); ?></h2>
    <?php } elseif (is_author()) { ?><h2 class=”arh”><?php _e(‘Author Archive’, ‘themezee_lang’); ?></h2>
    <?php } elseif (is_tag()) { ?><h2 class=”arh”><?php _e(‘Tag Archive for’, ‘themezee_lang’); ?> <?php echo single_tag_title(”, true); ?></h2>
    <?php } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?><h2 class=”arh”><?php _e(‘Archives’, ‘themezee_lang’); ?></h2><?php } ?>

    <?php if (have_posts()) : while (have_posts()) : the_post();

    get_template_part( ‘loop’, ‘index’ );

    endwhile; ?>

    <?php if(function_exists(‘wp_pagenavi’)) { // if PageNavi is activated ?>
    <div class=”more_posts”>
    <?php wp_pagenavi(); ?>
    </div>
    <?php } else { // Otherwise, use traditional Navigation ?>
    <div class=”more_posts”>
    <span class=”post_links”><?php next_posts_link(__(‘« Older Entries’, ‘themezee_lang’)) ?>   <?php previous_posts_link (__(‘Recent Entries »’, ‘themezee_lang’)) ?></span>
    </div>
    <?php }?>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Is your problem solved , my friend ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Posts in category's missing’ is closed to new replies.