I'm working on a Ajax Wordpress website and I have some posts inside homepage. When I click Show on a post a popup with the post appears and the link changes to example.com/#post-id where id is post ID. This is ok.
I want when someone goes on example.com/#post-3 to accest the post with id 3. I did that too. But I saw a problem:
On permalinks I can't put #.
My question is how can I transform my permalink into a link with # or how can I change the other way? Which is the better option?
Thanks
EDIT:
My current permalink is this:
/post-%post_id% and I want to make it into /#post-%post_id%