Reputation: 55
I've created my project with CodeIgniter and I put it on MAMP and it works correctly. The folder name was "Project" but I've changed it now into "Filmsite".
I've changed the base_url
in config/config.php
$config['base_url'] = 'http://example.com/Project/';
to:
$config['base_url'] = 'http://example.com/Filmsite/';
If I open the index the site works well, but if I try to click on a link a receive this message:
Not Found
The requested URL /Project/index.php was not found on this server.
Can somebody help me please?
Upvotes: 1
Views: 2040
Reputation: 99474
Since the project is not located in the root of domain, my best guess is you probably have RewriteBase /Project/
within your .htaccess
file or a rewrite rule like so:
RewriteRule ^(.*)$ Project/index.php/$1 [L]
If so, simply change Project
to whatever you want.
Upvotes: 1