CodeIgniter Forums
File not Found - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: File not Found (/thread-72016.html)



File not Found - djoodthevic - 10-25-2018

I hosted my website created with CODEIGNITER, and he replied "File not Found", when I delete the .htaccess file it shows me the home page correctly but the other pages are not displayed correctly
Help me please!!!


RE: File not Found - php_rocs - 10-25-2018

@djoodthevic,

Did you customize the .htaccess file or was it the default version?


RE: File not Found - djoodthevic - 10-25-2018

Yes i customised the .htaccesa file


RE: File not Found - InsiteFX - 10-26-2018

Well show the .htaccess file what your saying doe's not help us to
solve your problem.


RE: File not Found - djoodthevic - 10-28-2018

RewriteEngine On
RewriteBase /wp400/
RewriteRule ^index\.php$ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
RewriteCond %{REQUEST_URI} ^/uploads/sites/\d{4}/\d{2}/.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(uploads/sites)(/\d{4}/\d{2}/.+)$ $1/uploads$2


RE: File not Found - InsiteFX - 10-29-2018

Did you read this forum topic?

.htaccess issues with CI3 inside Wordpress directory


RE: File not Found - djoodthevic - 10-30-2018

I read thank you, but still not working, now my .htaccess is like that:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

and it replies
FILE NOT FOUND