I have installed a CodeIgniter application on main domain (domain.com). Now I wanted to use a directory for a blog (domain.com/blog/) where I would like to install a WordPress powered blog. But the issue is that I created a Directory called a blog but when I try to access it by typing domain.com/blog/ I get CodeIgniter 404 not fount page. I am very new with CodeIgniter so I must be missing something here.
Thanks
Assuming you’re using
.htaccessto removeindex.phpfrom your URLs, you should have an.htaccessat the root of your project with something like this in it:It’s basically saying “Send all requests to
index.php/$requestunless they start withindex.php,robots.txt,css, orimages“.This is so you don’t have to use URLs like
http://example.com/index.php/controller/method.Just add
blog: