Fix post links and pages