Dynamic URL and pass the data to an iframe
Step 1: Create a page with slug ‘profile’ in your WordPress Dashboard. Step 2 Use this function to register profileId var. add_filter(‘query_vars’, ‘wp233_query_vars’); function wp233_query_vars( $query_vars ){ $query_vars[] = ‘profileId’; return $query_vars; } And add a rewrite rule to wordpress like this: add_action( ‘init’, ‘wp233_add_rewrite_rules’ ); function wp233_add_rewrite_rules() { add_rewrite_rule( ‘^profile/([^/]+)?$’, ‘index.php?pagename=profile&profileId=$matches[1]’, ‘top’); } Step … Read more