Posts: 4
Threads: 1
Joined: Oct 2018
Reputation:
0
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!!!
Posts: 1,146
Threads: 15
Joined: Jun 2016
Reputation:
55
@djoodthevic,
Did you customize the .htaccess file or was it the default version?
Posts: 4
Threads: 1
Joined: Oct 2018
Reputation:
0
Yes i customised the .htaccesa file
Posts: 4,380
Threads: 101
Joined: Oct 2014
Reputation:
146
10-26-2018, 03:37 AM
(This post was last modified: 10-26-2018, 03:37 AM by InsiteFX.)
Well show the .htaccess file what your saying doe's not help us to
solve your problem.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Posts: 4
Threads: 1
Joined: Oct 2018
Reputation:
0
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
Posts: 4
Threads: 1
Joined: Oct 2018
Reputation:
0
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