Custom permalink with pagination

The problem is that your first rule is capturing anything that begins with news/archive/.

Add the $ anchor to match only news/archive/:

add_rewrite_rule(
    '^news/archive/?$',
    'index.php?post_type=news&news_archive=true',
    'top'
);

Your pagination rule will then begin to work as-is after you flush permalinks.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)