[eluser]jareep76[/eluser]
I have a route (mainbrand.php) and custom routes that redirect to it like so:
$route['affiliate1/(:any)'] = "mainbrand/$1";
$route['affiliate2/(:any)'] = "mainbrand/$1";
I'm doing this so that I can reskin the user interface based on the affiliate (because the content is identical).
I'm getting a 404 error if I go to any of the affiliate routes defined above.
I'm tried changing the config uri value to all of the options available and none of them work. I'm running a MAMP environment (Apache 2.2 and PHP 5.3.15) with the latest CodeIgniter installed.
This is my .htaccess file (and I've removed index.php from the config as necessary):
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
Any assistance is greatly appreciated. Thanks.