Writing htaccess that allows me to remove index.php from the URL can confuse search engines because i will have many links that leads to the same page e.g.
http://www.domain.com/index.php/welcome/index
http://www.domain.com/index.php/welcome/
http://www.domain.com/welcome/index
http://www.domain.com/welcome/
As you see, when it comes to SEO, this could be a problem. What can i do to solve this problem?
My .htaccess include the following commands:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /ci_sample/index.php/$1 [L]
1 Answer