WordPress.org

Ready to get started?Download WordPress

Forums

WP Print Friendly
[resolved] Redirects back to original article (8 posts)

  1. urbanty
    Member
    Posted 2 years ago #

    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/

  2. Erick Hitter
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

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

    Erick

  3. Erick Hitter
    Member
    Plugin Author

    Posted 2 years ago #

    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

  4. Erick Hitter
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    Version 0.5.1, released today, resolves this problem.

    Erick

  5. urbanty
    Member
    Posted 2 years ago #

    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!

  6. Erick Hitter
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

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

    Erick

  7. urbanty
    Member
    Posted 2 years ago #

    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!

  8. Erick Hitter
    Member
    Plugin Author

    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic