Refactored slug and post URL

- Short name or title did not work very well for urls.
- Fixed tests