customization – Can we set a redirection with dynamic content in url?

If you want to create a link with the user nickname as a part of it I would do something like this

// check if user is logged in
if (is_user_logged_in()) {
    // get current user object
    $current_user = wp_get_current_user();
    // get user nickname
    $user_nickname = $current_user->data->user_nicename;

    // set the link href
    $link_href = '' . $user_nickname;

    // output the link html
    echo '<a href="' . $link_href . '" title="title text here">Link text here</a>';

Now, because I don’t know where or how you want to add the link I made some generic code that will output the link with the current users nickname only if user is logged in