Ok – this is crazy….
on a single.php i have this
$query = new WP_Query(
‘paged’ => curPageURL(),
‘post_type’ => ‘video’,
‘order_by’ => ‘date’,
‘order’ => ‘desc’,
‘cat’ => $cat_ID,
‘posts_per_page’ => 18
i found that no pagination plugins work on single.php – so i wrote my own using and manipulating the URI based on which page you are currently on.
My problem is that no matter how many numbers you put after the url, the page still loads. the pagination will say page 11111111111111 of 4. then…. the previous link gets all screwy.
the real issue is that somehow google has indexed about 18000 of these crazy urls, and they show as crawl errors and we are losing traffic.
here is a sample url…
i feel pretty sure it has something to do with the query – but i have no idea what it could be.
- The topic ‘I have a doozy…..’ is closed to new replies.