I have the two files, htaccess and htpasswd. Within my sub domain I have client directories which need to have a different password for each. This is fine and I have it working when you go to each directory manually or when linked from a different domain.
My problem occurs when I create a client page in the same sub domain (but in the directory above) which links to each of the password protected directories. When I load this client page which has links to all directories it pops up and asks for each password before I've even clicked the link to go to that particular directory.
How do I stop this? or can somebody explain why I cannot or how I might achieve my desired effect.