WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WP Print Friendly] Redirects back to original article

[Resolved] [Plugin: WP Print Friendly] Redirects back to original article

  • Hi,

    I have added a print link inside the loop of the single view of my blog posts.
    My code looks like this:
    <?php wpf_the_print_link('true','Druckversion', 'print_link', ' &raquo; ', 'Druckversion', 'new');?>
    The link is displayed and the URL looks fine: /print/ is attached to my post’s url.
    When the link is clicked, a new window opens, but it instantly redirects back to the normal post view.

    My blog’s permalinks look like this:
    /%category%/%postname%/

    Any idea what’s wrong here?

    http://wordpress.org/extend/plugins/wp-print-friendly/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Erick Hitter

    @ethitter

    Code Wizard

    Hi,

    There appears to be an incompatibility between your permalink structure and this plugin. I’m looking into it.

    Erick

    Plugin Author Erick Hitter

    @ethitter

    Code Wizard

    Hi,

    After some investigation, I have determined that the problem relates to your particular permalink structure and how WordPress builds its rewrite rules to support it. I haven’t identified a satisfactory solution at this time, but will attempt to do so in the near future.

    I’ll update this topic as I have more information.

    Erick

    Plugin Author Erick Hitter

    @ethitter

    Code Wizard

    Hi,

    Version 0.5.1, released today, resolves this problem.

    Erick

    Hi Erick,

    thanks for trying to solve this problem. Unfortunately, installing the new version didn’t solve the problem yet. No changes are recognizable.

    The settings of the plugin look like this:
    Automatically add print links based on settings below? no
    Automatically place link: Below content
    Display automatically on: articles, pages
    Text for link to print entire item: Druckversion
    Text for link to print current page: Druckversion
    CSS for print links: print_link
    Open print-friendly views: In a new window
    Include endnotes for links found in content? Yes
    Endnotes heading: Endnotes:

    Thanks!

    Plugin Author Erick Hitter

    @ethitter

    Code Wizard

    Hi,

    My apologies for that. Version 0.5.2 should fix the problem.

    Erick

    Hi Erick,

    something has happened: It doesn’t redirect anymore. Unfortunately, now it takes you to a page without the content, but with a copyright notice. And the title of the page says “page not found” (it’s not a 404 page, so something is happening).

    Thanks again for trying to solve this!

    Plugin Author Erick Hitter

    @ethitter

    Code Wizard

    Hi,

    After upgrading to version 0.5.2, did you refresh your permalinks?

    I just added the code you provided to the Twentyeleven theme and set my permalink structure to what you specified, and the plugin performed as designed.

    Erick

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: WP Print Friendly] Redirects back to original article’ is closed to new replies.