convert the href URL to a crawlable URL and add a revert script (client
side) that will return the URL to #/{path}