It was because my blog is at blah.com/blog but I use the WP API to actually display blog posts on another page on my site. Setting the priority of the filter to PHP_INT_MAX fixed the problem.
Related Posts:
- WordPress Permalinks %postname% for RSS2 Feed URL
- Why is my RSS feed not working?
- Edit permalink for old posts and not show on top of RSS feed
- I need to change the attribute of the isPermaLink guid in the WordPress RSS feed – from false to true
- RSS feed URL for post comment shows HTML source code of page
- What is the best practice to check for pretty permalinks?
- Nice RSS Feed URLs for each custom post type
- How to Get Page 2 / Paginated RSS Feed with Custom Permalink Structure?
- How to redirect RSS feeds to Feedburner and keep pretty permalinks?
- RSS feed link on archives page not working
- Disable permalinks, but allow RSS feeds
- Appending a variable to RSS link url
- How can I get the privacy policy page?
- How to get the clean permalink in a draft?
- Stop WordPress from reserving slugs for media items?
- Including category-base in a post permalink results in 404
- the_permalink displays post ID URL for future posts
- Why does `get_permalink()` produces an add. DB request without $post->filter?
- Regex in add_rewrite_tag not accepting OR operators?
- Permalink/Pagination issue: Category base name same as page name
- How to get the last updated date of a post from a WP RSS feed?
- How to display comments on different page
- Limiting the number of words or characters in the slug/permalink
- How to change URL structure for pagination pages?
- custom naming of search permalink /search/
- Rewriting search permalink
- Dashes instead of slashes as permalink structure separator
- custom permalink/shortlink with base62 encoded post ID
- How can I get the permalink of a post before it is published?
- Add a URL prefix to permalinks of News category and sub-categories of posts only
- How to get permalink in foreach loop
- Disable permalinks on all pages and posts
- Custom add_rewrite_rule & permalinks
- add_rewrite_rule not working for me
- Using WP Rewrite, but just not “getting it”
- Confusing about permalink
- How to Fetch Rss Feeds From Other Websites
- List / Get post redirects
- Title attributes on Permalinks for posts and products
- Permalinks problem – Category pages don’t work
- example.com/index.php/%postname is working while /%postname is not working WordPress on IIS6
- 301 Redirect for Non-Date Based URL’s
- WordPress is suppressing page extensions!
- Strange number at the end of wordpress permalinks
- rewrite rule to redirect to the most recent date permalink
- File access different with permalinks on and off
- Feed error: A feed could not be found at youtube.com/… (1 post) [closed]
- Permalinks settings
- mod-rewrite exception? keep #hash in matching urls?
- Permalink Settings
- get_posts post title permalink not working for last item in array
- Add category into post permalink
- Add post overwriting permalink from previous post in 4.6
- Make custom post available under main domain directly?
- Custom permalink structure with %postname% in front of domain name
- Add variables to all permalinks in site
- What is the right way to clean up $title before wp_insert_post?
- How to get links to user and tag by its name?
- Help me fix these crazy attachment page URLs (rewrite?)
- How to Use metada Value in Url and is it possible? [duplicate]
- Custom child page permalink
- How to allow slash(/) on page url
- Safest way to create a custom permalink
- Parent/Child Categories Permalinks
- An excluded ‘ghost’ page is crashing my permalink
- Yoast and permalink troubleshooting
- Permalink Issue | Too many redirects
- Permalink in relation with the files
- WordPress project redirecting to a blank index.php when i use custom templates
- Parent/Child Relationships with Multisites?
- Custom Permlinks work, regular page permalinks don’t
- How to redirect from old standard wordpress permalink structure to new custom one
- When is a good time to reset permalinks?
- wp_dropdown_categories links 404
- Permalink problem ( Blog posts vs custom post types)
- Search and replace post URL’s on page output?
- Password-protect feed and make it usable in major aggregators
- Two urls for one website
- Added incorrect rewrite rule now getting an error
- Adding a second RSS feed
- WordPress Pagination Not Working After Transfer from Localhost
- Accidentally changed the permalink structure
- Keep wordpress from modifying my permalinks
- How to import and parse RSS feed from a WP site to a non-WP if ‘allow_url_include’ is set to ‘off’?
- Select page/template from the permalink url
- Removed and Reinstalled WordPress, Redirect Broken now
- Pretty links for PHP pages above WP /blog directory?
- localization for Permalink
- Permalink / sub-template issue
- Change rss title of individual feeds?
- Why are all pages redirecting to homepage when using custom permalinks?
- Reversing the order of items in a category rss feed?
- After I migrated a website for WordPress – Saved changes in wordpress settings >> permalinks. Homepage only working, links not working
- 404 not found error on WordPress local host
- .htaccess regex for redirect subdomain to root domain & redirect old permalinks
- Lists Top Authors by Most Recent Posts
- Support Gallery link to pages
- Is fech_feed() use lots of server resourses?
- UI does not show correct Slug after modified using save_post action
- Non english characters in search bar