Support » Plugins » wp-print and “No Posts Matched Your Criteria”

Viewing 9 replies - 1 through 9 (of 9 total)
  • I have determined that the issue is with .htaccess and permalinks. When I disable permalinks, wp-print works just fine (contrary to what I wrote above… perhaps I was experiencing a cache issue or something?)

    The readme that comes bundled with the plugin says to find this line:

    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/?([0-9]+)?/?$ <BLOG URL>/index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA,L]

    and replace it with:

    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/print/?$ <BLOG URL>/wp-print.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA,L]

    Only, that line is not found in my .htaccess file! All I have is this:

    Options +SymLinksIfOwnerMatch
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    Is there mod_rewrite expert here who can advise what the proper RewriteRule should be to enable wp-print?

    I think u may get the old version of wp-print (because the manually way of editing the htaccess is way too long ago), can u try redownloading it again? make sure the zip name is

    Thank you so much! You were of course totally right and the new plugin installs very easily. Thanks again!!!

    no problem =)

    Mmh I have a similar problem with the lastest version.

    If I change permalink structure from default to date and name based, I get “No posts matched your criteria.” when trying to print a page which is linked http://localhost/wordpress/index.php/pagename/printpage/
    then while the default where it works is

    did u regenerate permalink again?

    I’m not sure what you mean, I change the permalink option and click on “Update Permalink Structure” – anything else I have to do?

    nope, just click on it, like maybe twice to be sure.

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    While wp-print is indeed neat, there is a simpler and easier way using CSS. I would recommend that instead.

    Some details are here:

    Simply print the page using a modern browser (or view the “Print” version in the CSS menu of Firefox with Web Developer tools), and you’ll see how it looks a lot different on the printed version than on the screen version.

    Note that you cannot do *anything* with CSS, so if you want actual changes to the page, like different content or something, you’d have to hide it in the normal version but show it in the print version. That can take some extra theme editing to do this sort of thing.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘wp-print and “No Posts Matched Your Criteria”’ is closed to new replies.