I’ve encountered this as well.
Is this down to server/site config, or is it a known issue?
Same here, i am getting same issue.
URLs being shown with :443 port
We are on Kinsta host, could be static cache as issue?
Hi,
I have the same issue.
Any solution over there?
Thank you 🙂
Victor
Hi there,
Same issue here.
Any leads would be greatly appreciated.
+
Ace, thank you.
I did managed to set the “clock” demo.
It’s a pretty good method to learn how to make a custom tag ; but how can I transform the “clock” demo to have a custom tag able to retrieve the current page url juste like “CF7_URL” does ?
“CF7_URL” is adding the port number (ex: https://www.xxxxxxx.com:443/pageurl) when I use it like this [dynamictext dynamicurl “CF7_URL”] , and this cause that my CRM is no longer able to retrieve informations received via CF7.
I also tested this method, but I did not manage to make it work : https://wordpress.org/support/topic/433/
function cf7_url(){
$pageURL = 'http';
if( isset( $_SERVER["HTTPS"] ) && $_SERVER["HTTPS"] == "on"){ $pageURL .= "s"; }
$pageURL .= "://";
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
return $pageURL;
}
add_shortcode('CF7_seb_URL', 'cf7_seb_url');
Any help ?
+
-
This reply was modified 6 years, 8 months ago by
eightnight.
-
This reply was modified 6 years, 8 months ago by
eightnight.
Nevermind, this works very well :
add_filter("wpcf7_posted_data", function ($wpcf7_posted_data) {
$post = get_post($wpcf7_posted_data["_wpcf7_container_post"]);
$wpcf7_posted_data["containerURL"] = get_permalink($post);
return $wpcf7_posted_data;
});