I’m having a similar, though somewhat more complex, problem.
I’m also removing index.php using this htaccess file that I’ve used before on other clients’ sites:
RewriteEngine On
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
I’ve removed index.php from the general configuration and the site links work fine.
However, like the original poster here, EE is adding index.php to my pagination links:
A pagination link that should read: “domain.com/press/P8” instead reads: “domain.com/pressindex.php/P8”
My case is complicated, I’m afraid, by the fact that I am also trying to manage a multi-language site as described here: http://expressionengine.com/wiki/Multi_language_site_alternative/
I’m not sure if this is part of the problem or incidental. It means that I have two root level folders, /en/ and /fr/, each with a copy of the htaccess file with a lauguage prefix, e.g. for French, the last line reads:
RewriteRule ^(.*)$ index.php/fr/$1 [L]
As instructed by the multi-language method, I also have a copy of index.php in each language folder, and here, maybe, is a potential source of my problem. These copies of the index.php file are supposed to have these lines uncommented and filled out like so:
$template = "";
$site_url = "http://www.domain.com/fr/";
$site_index = "";
$site_404 = "";
$global_vars = array(
"country_code" => "fr",
"language" => "french"
); // This array must be associative
But when I tried this, it gave my URLs a redundant domain, i.e. http://www.domain.com/http://www.domain.com/fr/
So I resorted to shortening the site_url to:
$site_url = "/fr/";
This works fine for everything except the pagination (if, in fact, it’s actually part of the problem). (I tried replacing the domain as a test, and the added index.php in the pagination URLs remained.)
Interestingly, another instance of pagination that is being produced as part of the third party Solspace Calendar module’s
“calendar:cal” tag is paginating fine with the same standard pagination syntax.