When I go to a URL through clicking links, everything seems fine. But when I refresh that page, I get a 404 error.
You have two answers.
1. Create file .htaccess in main folder, and put in it this code:
# Generated by esoTalk
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
</IfModule>and in file config/config.php change this lines:
$config["esoTalk.urls.friendly"] = false; $config["esoTalk.urls.rewrite"] = false;
to this lines:
$config["esoTalk.urls.friendly"] = true; $config["esoTalk.urls.rewrite"] = true;
or
2. If .htaccess file not work, change in file config/config.php line:
$config["esoTalk.urls.friendly"] = true;
to code:
$config["esoTalk.urls.friendly"] = false;