Add resource path only when using PrettyPageHandler