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
- Permalinks: custom post type -> custom taxonomy -> post
- Mixing custom post type and taxonomy rewrite structures?
- Resolve a custom post type name vs. page permalink conflict (same slug)
- How to change permalink structure for custom post type and it’s taxonomies?
- Change permalinks for posts but not for custom post types
- Custom post type permalink: only use %post_id% and remove %postname%
- 404 on child page when parent page slug is identical to custom post type
- rewrite get parameter with custom post type
- Archive page…limiting posts per page
- Custom permalinks – post type – hierarchical taxonomy’s
- Change permalink structure for custom post type
- Pagination gives 404 error
- Creating a simple pagination for custom post type templates
- Custom post types and permalinks : What a mess !
- Custom Taxonomy breaking pages permalinks
- Custom Post Type Pagination & duplicate posts
- Custom post types and permalinks
- Custom post type – how can I make it a sub-url of another page?
- Custom fields in Permalinks?
- Parent & Child Taxonomy slugs in custom post permalink
- How to add pagination to wp_query [duplicate]
- Custom Post Types and independent Categories – complex Taxonomy
- Easy way to change custom post type name for permalinks?
- Hard code the nextpage tag into my theme?
- Use menus with anchors
- Permalink structure by Post Meta value
- custom post type parsed as attachment
- 404 Issue w/ Custom Post Type – using Meta for Permalink rewrite
- WordPress Custom Post Type Permalinks dynamic term slugs
- How to add rewrite rule to custom post type with parent in url with cpt ui?
- Create a custom php page and load it at a specific slug
- Permalinks /country/city/cpt/postname/
- Seamless permalinks between Custom Taxonomy and Custom Posts
- Custom post type and custom taxonomy with the same slug using the file page taxonomy only as directory
- List all posts in a custom post type with pagination (the correct way)
- Category with post type pagination returns 404
- Path to custom post type
- Custom Theme With Custom Loops
- Make custom post types and pages place nice, re: rewrite
- set permalink for CPT
- Number of posts in the archive
- Permalink problems with custom post type and custom taxonomy
- Route subpage to Custom Post Type
- Custom Post Type Advanced Slug
- next page with custom post
- Under What Conditions Can I name my CPT the same as my CPT Page?
- Pagenavi Plugin and Custom Post Type – Multipage results
- Adding /blog in front of single posts (only)
- How to remove /blog/ prefix for custom post types in permalinks?
- On saving Post My permalink is updated and category is removed automatically which cause the 404
- Searching in multiple category + URL hierarchy in real estate WordPress site
- Edit the default ‘post’ custom post type arguments
- add all blog posts to folder
- Category permalinks don’t work even after flushing
- Changing permalink of default Post with custom post
- Custom Taxonomy Archive generates 404
- Add Pagination in custom Blog page template
- Custom post type, next and previous links by page title
- Enabling hierarchical in a Custom Post Type gives error 404
- Standard Page Child of CPT Not Found (404)
- How to create a permalink structure with custom taxonomies and custom post types
- Permalinks change when edit published post on custom post type
- Post navigation doesn’t show (in custom template, custom post type, custom query)
- Custom permalink rewrite rules – how do I fix this?
- How to retrieve custom post type permalink in another cpt?
- Custom Pagination based on Custom Post Type
- Associate custom CPT with another CPT’s taxonomy and rewrite permalinks
- Post Custom & Taxonomy 404 error
- Same permalink structure for all post types?
- Custom post type with parent page? Possible?
- Hierarchical taxonomy in permalink structure
- Issue with permalinks for custom post type
- previous_posts_link returns null when querying custom post type
- Custom Post Type Pagination for Bones Theme [duplicate]
- Pagination with Custom Post Type
- paging is not working properly on news archives page [duplicate]
- Adding rewrite rules to Custom Post-type mixed with Taxonomy
- “regular” pages not found after changing permalink
- Custom Post Type and Taxonomy pagination permalink
- Linking from a list of custom post type items to a single – get_post_permalink not working correctly
- Problems with pagination for a custom post type
- Custom post type permalink structure
- How do I use CPT and permalinks with a mobile theme?
- See the process of creating a taxonomy and tell me where I made a mistake
- Can I have a specific template for products even if they are standard posts and not CPT?
- the_post_navigation in single page with multiple taxonomies
- What is the best way to relate different custom post types?
- Modify permalink of CPT archive to support two taxonomies
- Allow child pages with the same base as the CPT slug