Hello to all In Order to protect my template I am using .htacess that follows: Order Deny,Allow Deny from all PHP: But It slows my website to a great extent any other way to use .htacess?? I dont know why its slowing my website I was using the same .htacess with the old template and it was fine
That doesn't really make sense, it's an instant check that should return immediately. I wouldn't normally recommend security by obscurity, but you could try it. Create a blank index file, and then store all of the other files in a randomly named sub directory (make sure you have robots in both of them, in case by some chance a SE would find it). That way, browsing won't be possible and in theory, guessing filenames wouldn't really be either. The last sentence of your post really makes it sound like it's the template itself, and nothing to do with .htaccess.