Fixed short uri for wp
Merge pull request #1013 from opf/fix/wp_short_uri