• Resolved edgarlin

    (@edgarlin)


    I just start to test the RSS feed, however, I can only find below message at different RSS feed.

    Not Found
    The requested URL /feed/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Is there any possible reason to cause that?

    I just upgrade to Worldpress 1.5.2.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter edgarlin

    (@edgarlin)

    Very strange.

    I do we make this change below,

    ————–
    if ( preg_match(‘/cgi/’, php_sapi_name()) )
    @header(‘Status: 404 Not Found’);
    else
    @header(‘HTTP/1.x 404 Not Found’);
    ————–

    and turn them into this:

    ————–
    /* if ( preg_match(‘/cgi/’, php_sapi_name()) )
    @header(‘Status: 404 Not Found’);
    else
    @header(‘HTTP/1.x 404 Not Found’); */’

    or change:
    ‘ (false === strpos($_SERVER[‘PATH_INFO’], ‘index.php’))’
    to
    ‘ (false === strpos($_SERVER[‘PATH_INFO’], ‘.php’))’

    However, only https://mywebsite.com/wp-rss2.php is OK, however, https://mywebsite.com/feed/ is not.

    Besides, I have another blog using the same version of wordpress 1.5.2, which is working fine without problem.

    Any other suggestion?

    Thread Starter edgarlin

    (@edgarlin)

    I got the solution.
    There is no .htacess on the root directory. so I just add it and it is solved.
    Thanks this post. https://www.ads-software.com/support/topic/24687

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not Found on the RSS feed’ is closed to new replies.