Please help me to know why the URLs of certain freelancers profile is different?
This is a Friend of mine - https://www.upwork.com/o/profiles/users/_~01ae4846cbefa563b0/
My profile does not have the /o/profiles/ part in it and is not indexed on Google if you do a site:https://www.upwork.com/users/~01227d0ccc72e5d169 search on Google.
Also even when I search for my full name on search my profile does not appear. Please help me.
You have both. They are different page formats. Take a look at the test scores and you will see one is "Score (out of 5)", and the other is "Percentile Score".
The URL tells the page router which design to pull. So it just depends on how you get to your profile, which URL format you will see.
Thanks for the update, but why isn't my profile indexed on Google (Despite I have not set to private) nor come up on search when searched using my name on upwork is my next question?
I don't see profiles blocked. A search shows plenty of users indexed
Especially if you have very strong backlinks they index the pages with the description snippet "A description for this result is not available because of this site's robots.txt