I'm creating a social sharing bookmarklet and button that lets users share a link along with an optional text.

What structure is more recommended to use?



or with a folder:


(Or a completely different one?)

  • 2
    Do you see a particular user experience benefit one way or the other? – Matt Obee Jan 7 '13 at 13:36
  • 1
    What is the UX aspect of this question ? – Mervin Johnsingh Jan 7 '13 at 14:47

I personally think that using share as a variable in the URL describes the nature of the link more readily instead of a "folder" called share.


It explicitly implies that the URL following "share=" is the URL being shared as opposed to:


which doesn't imply the intended action as well. I also like Kayo's version, it makes for a more descriptive URL while defeating the arbitrary nature of having share as a "folder".


I don't know why the '/share/' sub-directory would be needed. Perhaps be more explicit in your variable names.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.