Retrieved config url from WP options.
Added default config dir.
Modified validation function to remove trailing slashes.