Johnny91 Hey, I want to exclude all .php files Where do I input it in my existing line 'files_exclude' => '/robots\.txt/',
Karl Johnny91 'files_exclude' => '/robots\.txt|\.php$/i', Use pipe | to add another item, $ means "ends with", and /i matches all cases also file.PHP.
amwps 'files_exclude' => '/\.(html|json|js|php|css|zip)$|^robots.txt$|^files.jpg$|^exclude' Exclude (html|json|js|php|css|zip) files, the full name of which is 'robots.txt'|' files.jpg' file, which contains files that begin with 'exclude',