Support » Plugin: Send PDF for Contact Form 7 » Enabling Plugin Redirects Homepage to Login

  • Resolved jcmmediagroup

    (@jcmmediagroup)


    Here’s an odd bug. Sometime in the last couple weeks, this plugin has started redirecting home page views to the login link with this plugin in the redirect portion of the WP login URL. So odd. It has absolutely killed my organic ranking as Google now sees my entire site as being behind a login screen. Killing this plugin on my site for now because it presents too much of a danger. Just logging this bug here for the developers to have on their radar.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve had same bug. It’s related to cookie generated by this plugin and luckily it’s fixable as DIY.

    Go to Plugins > Plugin editor > Select plugin to edit: Send PDF for Contact Form 7 > Select. Than navigate to file classes > send-pdf.php and look for this line:

    if( empty($_COOKIE['pdf_uniqueid']) ) { wp_redirect( admin_url('admin.php?page=wpcf7-send-pdf') ); exit; }

    If you comment it out (either with // at the beginning or /* .. */) it will work as intended, without redirects.

    Hi!

    This bug is now fixed with the last version.

    Thanks

    Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    Yes correct 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.