WordPress.org

Ready to get started?Download WordPress

Forums

Posts in category's missing (6 posts)

  1. Jmanig
    Member
    Posted 4 months ago #

    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

  2. Hamed Hosseini
    Member
    Posted 4 months ago #

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

    try this .

  3. Jmanig
    Member
    Posted 4 months ago #

    That didnt resolve the problem :(

  4. Jmanig
    Member
    Posted 4 months ago #

    Could it be a template issue?

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

  5. Jmanig
    Member
    Posted 4 months ago #

    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(); ?>

  6. Hamed Hosseini
    Member
    Posted 3 months ago #

    Is your problem solved , my friend ?

Reply

You must log in to post.

About this Topic