07-07-2012, 03:49 PM
[eluser]sekiuchan[/eluser]
I have a site that I want clone to a /dev directory so I can work on it w/o effecting the live site... in the config/config.php file I have set base_url and site_url to www.mysite.com/dev and the links on the site all map correctly but when I click them I get a 404 error... obviously it isn't routing correctly.
Any ideas why? Here's my .htaccess
I have a site that I want clone to a /dev directory so I can work on it w/o effecting the live site... in the config/config.php file I have set base_url and site_url to www.mysite.com/dev and the links on the site all map correctly but when I click them I get a 404 error... obviously it isn't routing correctly.
Any ideas why? Here's my .htaccess
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>