Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Yes - I'm not using folder name.
Is there any IP or country wise restrictions? My IP is: 103.240.34.86
no ip restrictions.
in FileZilla use: encryption: "Use explicit ftp over tls if available"
if you dont use filezilla, tell me what ftp client you use and I will test it on my end.
David
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Indeed - it was issue of FileZilla use: encryption: "Use explicit ftp over tls if available"
Could you please check now. I've adjusted the code as given under:
add_filter('cred_success_redirect', 'func_redirect_to_page',10,3);
function func_redirect_to_page($url, $post_id, $form_data){
if ($form_data['id']==1719){
return $_SERVER['HTTP_REFERER'];
}
if ($form_data['id']==1716){
$actual_link = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]/education-fund-need-analysis/";
$parent_id = get_post_meta($post_id,'_wpcf_belongs_education-parent_id',true);
$actual_link = $actual_link."?edi=". $post_id."&edp=".$parent_id ;
return $actual_link;
}
return $url;
}
I can see that the page is redirected successfully. Could you please confirm. 🙂
This is working great!
Thank you Minesh,
David