.htaccess redirect if file exists in subfolder
snippet in htaccess

.htaccess redirect if file exists in subfolder

user7907

RewriteEngine On

RewriteRule ^USERMOD/ - [NC,L]

RewriteCond %{DOCUMENT_ROOT}/USERMOD/$1 -f [NC]
RewriteRule ^(.*)$ /USERMOD/$1 [L]

# rest of your rules come here