not working with default Permalink setting

not working with default Permalink setting
such as: example.com/?p=27

only works when not "default" permalink
suah as: example.com/%year%/%monthnum%/%day%/%postname%/