[eluser]bradcis[/eluser]
I am developing one of my first websites on the CodeIgniter problem and keep running into a problem. For SEO purposes, I am forcing the "www" subdomain on all webpages within CI. I also am attempting to remove the "/index.php/" portion.
My .htaccess file looks like this:
Code:
RewriteEngine on
Options +FollowSymlinks
RewriteCond %{HTTP_HOST} ^domain.com
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
RewriteCond $1 !^(index\.php|images|includes|user_guide|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
What is happening is that it does indeed force the "www" subdomain, but no matter what page I go to /about/, /contact/, etc., the only page that is displayed is the front page. (in this case it is defaulted to /home/).
Additionally, in the config.php file, I set $config['index_page'] = "";
Any help would be greatly appreciated.