How to make url variable?

Assuming the user’s mobile number is saved in wp_usermeta with meta_key being mobile_number, then adding this to a template will show the current user’s mobile number: <?php echo get_user_meta( get_current_user_id(), ‘mobile_number’, true ); ?>

url redirect none www to www

IMO, going to your .htaccess file is not necessary. You can instead flush permalink rules in the Permalink Settings area of your site. Just click on Permalinks, select a new option (other than the current one you’re using), save… Click on Permalinks again, choose your previous option, and then save again. And that does it!.