I think for the smartphone thing it auto detects if you have a mobile version of the site it will go to it, look up how to make a mobile version site it will mean your URL would look something like m.websitename.com thats most likely how facebook and youtube do it goto m.youtube.com or m.facebook.com on your pc and itl show the mobile version