Home Forums Support Widget Support Real Search Exlude folders from search Reply To: Exlude folders from search

responsive-muse
Keymaster
Post count: 160
#22783 |

Hi Mauricio!

You can exclude whole folders doing some edits in scan.php

It should be possible doing some code changes in scan.php

You can try to change around line 24:

if ((strpos($dir, 'phone') !== false)||(strpos($dir, 'tablet') !== false)) {

For this line:

if ((strpos($dir, 'phone') !== false)||(strpos($dir, 'tablet') !== false)||(strpos($dir, 'myfolder1') !== false)||(strpos($dir, 'myfolder2') !== false)||(strpos($dir, 'myfolder3') !== false)) {

And replace myfolder1, myfolder2 and myfolder3 for the folder names you want to exclude.