WordPress.org

Ready to get started?Download WordPress

Forums

archive.php page title: "Nothing found for ..." (2 posts)

  1. bootsmaat
    Member
    Posted 5 years ago #

    I modified my archive.php to make it suit to my needs. I fetch posts via

    $posts = query_posts($query_string . '&showposts=100000');

    and walk through the posts with

    if ( have_posts() ) { while ( have_posts() ) : the_post();

    Strangely, when I call the archive for the year 2008 the title bar of the page says "Nothing found for Schsch 2008" even though there are lots of posts found and displayed.

    'Schsch' is the root folder of my wordpress blog. My permalink structure leavec the "archive" part out, I call the archive for 2008 with "domain.tld/schsch/2008"

    How come this error is displayed? Is there a better way to fetch the posts than with the method mentioned above?

    Thanks!

  2. bootsmaat
    Member
    Posted 5 years ago #

    Update: I noticed that the problem goes away when i deactivate the All in one SEO plugin.

    Could it be that the plugin thinks "2008" is a post slug since my permalink structure leaves out the "archive part" and the link to the 2008 archive is "http://www.myblog.tld/Schsch/2008"?

    Any ideas how I can still use the plugin?

Topic Closed

This topic has been closed to new replies.

About this Topic