Support » Plugin: Yoast SEO » RSS Feed 404 when Yoast enabled

  • Resolved dfterry


    I can’t seem to work out why this happens. I have a news feed through a post category, but if Yoast is enabled I get 404 on /feed/ url.

Viewing 1 replies (of 1 total)
  • My mistake, I had this in my functions and it was causing 404 on RSS feeds because Author pages are turned off.

    /* 404 on author pages */
    add_filter( 'author_link', 'no_author_link' );
    function no_author_link() {
    	global $wp_query;
    	include( get_404_template() );
    • This reply was modified 2 years, 4 months ago by dfterry.
Viewing 1 replies (of 1 total)
  • The topic ‘RSS Feed 404 when Yoast enabled’ is closed to new replies.