Hi David,
Have searched the forum but can't find a solution to the following question.
I would like to remove the brands and the categories in my database from public view i.e. remove mysite.com\brand\ and mysite.com\category\
Is there much involved in this ? Is it just a case of removing the two files ??
Many thanks
Adrian
Perfect.
Thanks for the quick response. You're kept busy today :)
Cheers
Adrian
Hi Adrian,
Essentially yes - but i'd go a step further;
1) Remove the category and brand rewrite rules from .htaccess
2) Delete categories.php and brands.php and make sure that no links exist to them (or their rewrite equivalents /category/ and /brand/)
3) Disable the category: and brand: search operators in search.php (assuming that you don't need to use these operators for other purposes and it's only the indexes that you wish to "hide"). To do this; in search.php you will find:
case "category":
// pass through to brand
case "brand":
...deleting these lines will disable those search operators.
Cheers,
David.