Support » Plugin: Pretty Links - Link Management, Branding, Tracking & Sharing Plugin » 404 Error with Form Action=pretty-url + Parameter Forwarding + method=POST

  • Resolved jruizcantero

    (@jruizcantero)


    Hello,

    With Pretty Link Lite v2.1.1, plugin doesn’t works (404 error) if you use a form with action=pretty-url + parameter forwarding + method=POST. It works OK with method=GET and some olds versions of Pretty Link Lite also works OK with method=POST.

    Best regards

Viewing 1 replies (of 1 total)
  • Plugin Author cartpauj

    (@cartpauj)

    As of 2.0+ versions no longer do redirects if the method is not GET.

    You can manually delete that check in the /app/controllers/PrliAppController.php file on line #12

        if($_SERVER["REQUEST_METHOD"] == 'GET' && !is_admin()) {
          add_action('plugins_loaded', array($this, 'redirect'), 1); // Redirect
        }
Viewing 1 replies (of 1 total)
  • The topic ‘404 Error with Form Action=pretty-url + Parameter Forwarding + method=POST’ is closed to new replies.