I have created a custom taxonomy for a custom post type called activity:
register_taxonomy(
'period',
array('activity'),
array(
'hierarchical' => true,
'labels' => $labels,
'show_ui' => true,
'query_var' => true,
'rewrite' => array( 'slug' => 'period' ),
)
);
I create a Template file named taxonomy-period.php
And I add a category for this taxonomy,And it's slug is today,
And the period archives page worked.
The url is:http://localhost/hsns/active/period/today
But the http://localhost/hsns/active/period/today/page/2 goes to 'page not found'
And http://localhost/hsns/active/period/today/page/1 goes to 'page not found' too.
http://localhost/hsns/index.php?period=today&paged=1 worked;
http://localhost/hsns/index.php?period=today&paged=2 goes to 'page not found',
Can you guys help me? Thanks in advance!