I have folder which path is .com/yp/uploads and i have another folder .com/uploads
I want to do htaccess rule like this: If .com/yp/uploads/abc.jpg(or another file extension) doesn't exists then show .com/uploads/abc.jpg
Thank you.
I have folder which path is .com/yp/uploads and i have another folder .com/uploads
I want to do htaccess rule like this: If .com/yp/uploads/abc.jpg(or another file extension) doesn't exists then show .com/uploads/abc.jpg
Thank you.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/yp/uploads/(.*) /uploads/$1 [L,R=301]