add SEF url for posts while maintaining compatibility
add SEF url for posts while maintaining compatibility