Rewriting 2 different url

I have this url: https://www.test.net/demo/index.php/Products/Description/products_id,3

If I activate the rewriting I have this: https://www.test.net/demo/Products/Description/products_id,5

My problem is the url is write like that : https://www.test.net/demo/Products/Description/products_id,5

but when I click on a button :: the url is like that https://www.test.net/demo/index.php/Products/Description/products_id,3

I come back always on my index page because the url is different.

In apache snippset I write also that

 AcceptPathInfo on

On apache 2.4 pathinfo does'nt exist.

My htaccess :

Options -Indexes
Options +FollowSymlinks

#### Force pathinfo apache 2.4 ###############
#AllowOverride None
#AcceptPathInfo on


<IfModule mod_rewrite.c>
    RewriteEngine On

#to change in function your website
    RewriteBase /boutique/

# remove index.php if entered directly by clients
    RewriteCond %{THE_REQUEST} /index\.php/(\S*)\s [NC]
    RewriteRule ^ %1 [L,R=301,NE]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(?!index\.php$).* index.php/$0 [L,NC]
</IfModule>

Tk