Title: wp-print problem
Last modified: August 18, 2016

---

# wp-print problem

 *  [tojulius](https://wordpress.org/support/users/tojulius/)
 * (@tojulius)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/wp-print-problem/)
 * I installed gamerz wp-print i got it working with posts but it does not work 
   with pages of my website.
 * is it possible to make it work for all the pages of the website or does it apply
   only to posts
 * thanx
 * julius

Viewing 15 replies - 1 through 15 (of 41 total)

1 [2](https://wordpress.org/support/topic/wp-print-problem/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/wp-print-problem/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/wp-print-problem/page/2/?output_format=md)

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237141)
 * Works fine here on Pages. How are you linking to them?
 *  Thread Starter [tojulius](https://wordpress.org/support/users/tojulius/)
 * (@tojulius)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237243)
 * I am not linkin it actually and i think it might mÃ¬be the problem.
 * Actually i contacted gamerz and he said it is not developed for pages but only
   for posts.
 * So if you can tell me how to do it would be beautiful.
 * Thanks
 * Julius
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237254)
 * “I am not linkin it actually”
 * Then how do you get posts to show in it? Something like:
 * wp-print.php?page_id=1
 * Works with Pages.
 *  Thread Starter [tojulius](https://wordpress.org/support/users/tojulius/)
 * (@tojulius)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237261)
 * actually i followed the procedure on the readme file, as i am not using permalink
   i put
 * // Open wp-content/themes/<YOUR THEME NAME>/index.php
    // Note: If you ARE NOT
   using nice permalink url Find: —————————————————————— <?php while (have_posts()):
   the_post(); ?> —————————————————————— Add Below It: —————————————————————— “>
   Print This Article
 * That is what i did. The print this article link is showed on either pages or 
   posts but only when i click it on posts i got redirected on the post to print,
   while when i try to prin a page I got an error message saying ” no post matches
   your criteria”.
 * Gamerz told me it does not work with pages, now if you have another way to make
   it work, please explain me!
 * thanx
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237274)
 * “Gamerz told me it does not work with pages”
 * Give this to Gamerz as an answer: replace the “Print” line with
 * `<?php if(is_page()) : ?>
    <a href="wp-print.php?page_id=<?=the_ID()?>">Print
   </a> <?php else : ?> <a href="wp-print.php?p=<?=the_ID()?>">Print</a> <?php endif;?
   >
 * Or if a theme has single.php and page.php templates, use the different print 
   link versions for each (i.e. ?page_id= for page.php, ?p= for single.php).
 * Love supporting other peoples’ work…
 *  Thread Starter [tojulius](https://wordpress.org/support/users/tojulius/)
 * (@tojulius)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237277)
 * cheers mate, nice and easy….i’ll tell gamerz!
 * thanx
 *  [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237368)
 * thanks for the fix bud!
 *  [gwoodard](https://wordpress.org/support/users/gwoodard/)
 * (@gwoodard)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237652)
 * What is the URL fro gamerz WP Print?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237653)
 * [http://www.lesterchan.net/portfolio/programming.php](http://www.lesterchan.net/portfolio/programming.php)
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237654)
 * I was getting tired of people arriving at my site via Google and getting the 
   wp-print version rather than the post itself, so I added the following to wp-
   print.php:
    <meta name=”robots” content=”index,follow” />
 * If anyone just happens to be using this and 1.6-do-not-use, have you figured 
   out how to get it to work with the “nice” permalinks? 😉
 *  [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237658)
 * you can just put no if you do not want bots
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237659)
 * Oops, thanks GamerZ, I meant “noindex,follow”.
 *  [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237660)
 * LOl, no prob
 *  [spencerp](https://wordpress.org/support/users/spencerp/)
 * (@spencerp)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237661)
 * To Gamerz,
 * I had added this plugin to my blog, followed the directions but for some reason
   kept getting a 500 internal server error page. =( I’m using (nice) permalinks
   on the blog. Added this like you said in the readme.txt:
 * / Go to Manage > Files > Common -> .htaccess (for rewrite rules)
    // Note: If
   you ARE using nice permalink url Find: —————————————————————— # END WordPress——————————————————————
   Add Below It: —————————————————————— 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] ——————————————————————
 * Shouldn’t that be up above the </IfModule> # END WordPress line? I was just curious…
   I did that via the control panel, then when that failed..I tried it manually 
   and uploaded the same .htaccess file with the changes and still the 500 internal
   errors. =( I had done all the other stuff as posted in the ReadMe.txt file as
   well. I then just took out the plugin all together.
 * Also, even while at your site looking through the comments for the plugin, someone
   that had the 500 error as well said something about a fix, but didn’t really 
   explain how to do it. Any suggestions maybe?….thanks. =)
 * spencerp
 *  [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wp-print-problem/#post-237662)
 * The </IfModule> will check to make sure that you have mod_rewrite activated, 
   you have it activated/installed, it should not pose a problem.
 * Did you replace <BLOG URL> with your url to the wordpress folder. If your wordpress
   folder is in the root, it will be like this.
    `^archives/([0-9]{4})/([0-9]{1,2})/([
   0-9]{1,2})/([^/]+)/print/?$ /wp-print.php?year=$1&monthnum=$2&day=$3&name=$4 [
   QSA,L]`

Viewing 15 replies - 1 through 15 (of 41 total)

1 [2](https://wordpress.org/support/topic/wp-print-problem/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/wp-print-problem/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/wp-print-problem/page/2/?output_format=md)

The topic ‘wp-print problem’ is closed to new replies.

 * 41 replies
 * 10 participants
 * Last reply from: [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/wp-print-problem/page/3/#post-237692)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
