check for permalink in config