Make sure your query has paged in it like so:
query_posts('post_type=fotolog' . '&paged=' . get_query_var('paged'));
Check to be sure that you don’t have page and a post type with the same permalink /foflog and /fotolog/your-post-name-here
Related Posts:
- Changing the URL Structure of a Paginated Custom Post
- WordPress search: pretty URLs (permalinks), custom post types and pagination
- Custom permalink with pagination
- Pretty paged permalinks in custom post type loop
- WordPress rewrite my URL when i use pagination
- Help with Elementor Pagination CPT archive 404 problem
- Can’t use pagination with custom taxonomy
- Pagination of custom post type leads to 404 error
- Permalink for custom post type pages not working
- Pagination not working (page/2 retunring 404 page)
- Custom taxonomy in custom post type archive with pagination
- Category with post type pagination returns 404
- custom post type pagination error 404
- Change custom post type permalink to show name of post from another custom post type?
- Custom Post Type Permalink
- How To Show All Custom Post Types In A Category Instead Of Pagination?
- Pagination issue on category.php using custom post type query
- Permalinks for custom post type
- How to have this permalink structure: post_type/postname/custom_inner_page
- Additional section in custom post type permalink
- How to include term custom meta into the custom taxonomy term permalink structure
- Custom Post Type Pagination Paginates Only in URL Structure
- Blog posts for custom post type only
- Path to custom post type
- Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
- Custom taxonomy returns 404
- Is it possible to to use custom post type types on a page with the same slug somehow?
- WordPress custom post query with pagination
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Permalinks: custom post type -> custom taxonomy -> post
- Custom post type archive pagination 404
- Next Post links not working in custom post type shortcode
- CPT’s with landing page instead of archive – Url Rewrite?
- How to change permalink to include custom post type
- Removing Custom Permalink Structure for Custom Post Type
- Custom post type, permalinks, taxonomies and blog posts
- Custom post type permalink tag 404
- Custom post type permalink returns 404
- Use the same date-based permalink structure for all post types
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- permalink /category/post-name with custom post type and taxonomy
- Custom Theme With Custom Loops
- Querying Custom Post Type, ordering by Custom Taxonomy Pagination Not Working
- Custom Post Types strange pagination problem
- “Post name” permalink returns home page for custom posts
- Custom post type and taxonomy permalinks
- Hierarchical permalinks for custom post type and taxonomy
- How to organize hierarchical structure in custom post type with taxonomy (like with categories)
- Make custom post types and pages place nice, re: rewrite
- Custom Post Fields at the beginning of a Custom Permalink
- Pagination with custom query, custom search form, single and pages, ajax and no plugins
- Flush Rewrite Rules when new site is created on network
- Pretty URLs and custom post types
- Form action doesn’t work if slug isn’t same as custom post title
- How to make permalink structure %category%/%postname%/ work for custom post type?
- set permalink for CPT
- Ignoring slug capitalization on rewrite rule for custom post type archive page
- Lost of query parameter when using permalink
- Custom permalinks rules don’t match and lost of query var in the process
- Custom Post Type – Duplicate Page Slugs
- can these 3 queries be re-written as 1 query?
- Custom post type pagination – always return first page
- Rewrite rule for Custom post type Monthly and Yearly archive
- Different results between permalink and query var search
- menu link to custom post_type?
- Custom permalink with child taxonomy terms
- Custom post type Permalinks with hierarchical Taxonomies
- 404 in custom post type feed with mistake permalink
- pagination not working for category.php (custom post types in categories)
- Add a permalink variable onto custom post type URL after post name slug
- Custom post type pagination 404
- Remove permalink for custom post type
- Permalink misbehaving in Custom Post Types
- Check post on publish for blank title
- How to solve this custom post type goes to 404 page?
- Pagination broken by naming conflict between CPT and Page
- Cant get paginations on single.php to work with my custom post types
- Best way to specify “article type” in URL
- Template files for Custom Post Type and Taxonomy
- How to Create Template File for Parent Page of Custom Post Type
- How do you create %post_type%/%postname%/ permalink structure?
- Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard
- Changed permalink structure of CPT – should I redirect?
- Number of posts in the archive
- How to query 2 custom post types that need to share a slug?
- Pagination custom post type not working with rewrite slug
- Pagination Not Working for Custom Taxonomy with Custom Query – 404 Error
- Pagination Error : Duplicate argument being outputted
- I’m having trouble getting the permalink sample on my custom post type edit page to work
- How to change path for default WordPress blog posts?
- How to hyperlink content from archive page with custom post-type
- Custom WP_Query always respond with 200 status even when no entry
- retrieve permalinks of posts inside custom post type by using post ID
- Custom Permalinks with meta value not working. Why?
- Custom post type as child of page
- Remove custom permalink structure from custom post type without modifying register_post_type() directly
- Pagination doesn’t function properly for archive of a custom post type set as the front page
- How to have permalink like domain.com/term/postname?
- Can variables be used to rewrite a Custom Post Type permalink? [duplicate]
- Trouble with pagination