XF 1.5 Google Analytics Shows "/index.php" After Renaming File


Active member

I've renamed index.php to forums.php, but Google Analytics still shows traffic on /index.php. I even deleted index.php file on the server to test this and it still shows traffic going there. The idea is that I want to be able to differentiate between index.php and forums.php on Google Analytics.

Any ideas? How can I get it to register as /forums.php on Google Analytics?

Thanks in advance!


XenForo developer
Staff member
You simply can't rename index.php. XenForo expects it to always be there and it will always be used in some scenarios.

Since XenForo "takes over" a directory, I'm not sure what you're trying to achieve here.