Rewriting share_post.php