Google Analytics + WordPress /dir/ and /dir/index.php appearing as separate items

The Google Analytics information for one of my WordPress sites is showing /dir/ and /dir/index.php as separate items – is there a way to prevent this from happening?

Related posts

Leave a Reply

1 comment

  1. Yes, in the profile settings set the default page to index.php. Google Analytics Index Page Tracked Separately

    Even though http://www.example.com/ may be the same page as http://www.example.com/index.html, they show up as two separate entries in your reports. You can configure Google Analytics to treat them as the same page by defining the Default page for your profile:

    • Click the Analytics Settings link.
    • In the Website Profiles list, find the profile to modify and click Edit.
    • Click Edit next to Main Website Profile Information.
    • In the Default page text box, enter the default (or index) page for this domain. This is the page that loads when a visitor enters only the domain of your site into their address bar. For example, if http://www.example.com loads your index.html web page, enter index.html in this text box.
    • Click Save Changes to update your default page, or Cancel to exit without saving.