NSUrl is not stored as absolutestring in NSUserDefault
If you want to store NSURL then why are you converting it into string and saving it as string. It will increase your work effort.
You can try this:
NSUserDefaults *defaults=[NSUserDefaults standardUserDefaults];
[defaults setURL:[NSURL URLWithString:@"http://www.google.com"] forKey:@"urlValue"];
[defaults synchronize];
NSURL *url=[defaults URLForKey:@"urlValue"];
NSLog(@"%@",url);