Welcome Guest, Not a member yet? Register   Sign In
How to cope if successful in localhost but when there is an error in hosting 404?
#1

Pleas hepl me!!
when I try on localhost already successfully but when I was hosting an error 404, when I had to replace base_url with my domain. Undecided
Reply
#2

How do you call your site .. with index.php or without ..

Reply
#3

(02-26-2015, 11:46 PM)Rufnex Wrote: How do you call your site .. with index.php or without ..
I am call with index.php
Reply
#4

Try to this config setting:

$config['base_url'] = ''
$config['index_page'] = '';

And this .htaccess file in your document root

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

Reply
#5

this for code config.php http://pastebin.com/Za5V4ar9 and this code .htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
Reply
#6

Try my config above .. and call your site without index.php

Reply
#7

What title thread for your config?
(02-27-2015, 02:23 AM)Rufnex Wrote: Try my config above .. and call your site without index.php
Reply
#8

(This post was last modified: 02-27-2015, 05:58 AM by Rufnex.)

Just -3- posts above your last one .. scrollup ;o)

Reply




Theme © iAndrew 2016 - Forum software by © MyBB