Fixed URL mapping.

Refresh link will now update to the newest post
Fixed the URL that's generated