Welcome Guest, Not a member yet? Register   Sign In
cek my CI web, why it only read the index?
#1

[eluser]yudahebat[/eluser]
this my web :
Code:
www.mrputucar.id.or.id

I use a trial hosting to check my web on online server.

it work,but only on index (home) if I click the link anywhere

it said error.

do you know what mistakes that I have.

because this is my first web on CI and I want to upload it correctly.


thx for the attention.
#2

[eluser]Clooner[/eluser]
Seems to be a problem with .htaccess files specifically with your rewrites. What does the log file say?

Try accessing it with the index.php : http://www.mrputucar.id.or.id/index.php/mrputucar/about
#3

[eluser]yudahebat[/eluser]
this is my .htaccess

Code:
RewriteEngine On
RewriteBase /www.mrputucar.id.or.id
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

I have make an edit to ht access so I dont need to write "index.php" on the URL
#4

[eluser]Clooner[/eluser]
Actually rewritting is good, not mentioning very cool!

Try the basic config!
Code:
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
    ErrorDocument 404 index.php
</IfModule>

Place this .htaccess file in the same directory as your index.php file
#5

[eluser]yudahebat[/eluser]
then I replace my .htaccess with yours? or keep it there?
#6

[eluser]Clooner[/eluser]
[quote author="yudahebat" date="1251206887"]then I replace my .htaccess with yours? or keep it there?[/quote]
Replace it Big Grin Also maybe you will need to change the url_protocol in the config file but first try relpacing the .htaccess
#7

[eluser]yudahebat[/eluser]
I have done what you said
and it always back to index (home) if I click to random link or menu on my web
just take a look to my web : www.mrputucar.id.or.id
#8

[eluser]Clooner[/eluser]
[quote author="yudahebat" date="1251207798"]I have done what you said
and it always back to index (home) if I click to random link or menu on my web
just take a look to my web : www.mrputucar.id.or.id[/quote]

You also edited the url_protocol in the config file?
#9

[eluser]yudahebat[/eluser]
yes I have edit before then I change to 'AUTO' again
and it works
my web works!!!!

yeahhh
thanks
I love you full... hahahahaha




Theme © iAndrew 2016 - Forum software by © MyBB