pagination leads to 404 page
After an exhausted effort of a whole day finally find the solution. i write these two functions in my functions.php file and finally i got the expected result. function remove_page_from_query_string($query_string) { if ($query_string[‘name’] == ‘page’ && isset($query_string[‘page’])) { unset($query_string[‘name’]); // ‘page’ in the query_string looks like ‘/2’, so i’m spliting it out list($delim, $page_index) = … Read more