I have a website paytrics.com
This site is working on Codeigniter. I have written a piece of code in htaccess to block direct access of php files. The code is
Please see this image for htacess code
This is working fine. However, here is my problem. I have installed wordpress inside a folder paytrics.com/blog The pages and posts of blog are opening properly.
But since I have blocked access wp-admin of blog So, when I open http://www.paytrics.com/blog/wp-admin it gives me an error that permission is denied.
How to solve this problem? I want direct access of php files denied in my codeigniter project, but I also need to access Wordpress admin section.