This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

kevin.vermeulen
kevin.vermeulen

Hi all,

If I see the all page data in GA (Google Analytics) it shows me pages including the index.php in the URL.
However, if a page is with index.php it will not show the images at all.

It's for this website: https://www.kvntravel.nl/

Can someone help me to avoid this?

kevin.vermeulen
kevin.vermeulen

Found a solution after testing many times:

RewriteBase /
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]

Source

Last updated

dkmattewother
dkmattewother

Thanks a lot! A have same problem and searching decision for this. Your answer helps me

igorpol3322739
igorpol3322739

Thank you very much, great solution.

david.korinek52565
david.korinek52565

Thank you! It helps me.

1-5 of 5

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.