Viewing 10 replies - 1 through 10 (of 10 total)
  • Try resetting your custom permalinks to the default setting. If that works, then try reading:
    http://codex.wordpress.org/Using_Permalinks
    before setting a custom permalink structure back up again.

    Thread Starter Mr-Cute

    (@mr-cute)

    sorry but in home page links working 100 % please check http://www.khabar3ajel.com and click on

    المواضيع السابقة = ” previous post “

    working !

    i guess the problem in my archive page ?

    <?php get_header(); ?>
    
    <div id="content">
    
        <?php if (have_posts()) : ?>
    
            <?php while (have_posts()) : the_post(); ?>
    
                <div class="post" id="post-<?php the_ID(); ?>">
    
    <?php $screen = get_post_meta($post->ID,'screen', true); ?>
    <img src="<?php echo ($screen); ?>" width="80" height="55" alt=""  />
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <div class="date"> </div>    
    
    <div class="mentry">
    
            <?php the_excerpt(); ?>
            <div class="clear"></div>
    
    </div>
    
    <div class="postinfo">
                        <div class="time"><?php the_time('F - j - Y'); ?> </div>
                        <div class="rmore"><a href="<?php the_permalink() ?>">إقرأ المزيد</a> </div>
    </div>
    
    </div>
            <?php endwhile; ?>
    
            <div class="navigation">
                <div class="alignleft"><?php next_posts_link('المواضيع السابقة &raquo;') ?></div>
                <div class="alignright"><?php previous_posts_link('&laquo;المواضيع الجديدة') ?></div>
            </div>
    
        <?php else : ?>
    
            <div class="post">
                <h1 class="title">غير موجود</h1>
                <p>أسف, لكنك تبحث عن شيء غير موجود هنا.</p>
            </div>
    
        <?php endif; ?>    
    
    </div>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

    sorry but in home page links working 100 %

    Your next page links aren’t, so try it.

    Thread Starter Mr-Cute

    (@mr-cute)

    yeah esmi , working 100 % in categories

    and the link look like this :
    http://localhost/wordpress/?cat=1&paged=2

    my permalink was :
    /%category%/%postname%/

    I can’t see anything in the code you posted above that would stop your next/previous pages working.

    Thread Starter Mr-Cute

    (@mr-cute)

    i guess there are any problem in .htacess ?

    Unlikely if links are working fine elsewhere. What’s in your .htaccess file?

    Thread Starter Mr-Cute

    (@mr-cute)

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    AuthUserFile "/home/khabar/.htpasswds/public_html/passwd"
    # Prevents directory listing
    Options -Indexes
    Thread Starter Mr-Cute

    (@mr-cute)

    up urgent plz

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

The topic ‘Problem with pages next and back’ is closed to new replies.