Analytics added index.php to my pages

Discussion in 'Google Analytics' started by petervanderdoes, Nov 19, 2009.

  1. #1
    My site has not one page that ends in index.php yet in Analytics all my pages have index.php added to them.

    Example:
    The homepage is shown by just typing the FQDN, no index.php.
    In Analytics it is shown as /index.php instead of /

    Is there something I need to change in the javscript?
    Is there an option in the analytics profile that caused this?
     
    petervanderdoes, Nov 19, 2009 IP
  2. dulcificum

    dulcificum Active Member

    Messages:
    535
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    68
    #2
    What filename do you use for your index pages?
     
    dulcificum, Nov 19, 2009 IP
  3. petervanderdoes

    petervanderdoes Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    1st of all, WOW that was a quick response.

    It's a WordPress blog. There is a rewrite rule in Apache that funnels everything to index.php

    To give another example:
    http://myblog/2009/11/03/what-is-it/
    will display that page in analytics it shows as
    /2009/11/03/what-is-it/index.php

    When I browse to:
    http://myblog/2009/11/03/what-is-it/index.php
    It's changed to
    http://myblog/2009/11/03/what-is-it/

    I have another WordPress blog that doesn't show have this behavior in Analytics.

    I didn't use real examples, as I don't know if that's allowed here :)
     
    petervanderdoes, Nov 19, 2009 IP
  4. petervanderdoes

    petervanderdoes Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    Hm,, I think I know what is wrong.
    In analytics, the profile was changed. The default page setting was set to index.php, which is not necessary as the site never has a index.php. I guess I changed it but don't remember doing it.

    I just have to wait a few days to see the result.
     
    petervanderdoes, Nov 19, 2009 IP
  5. petervanderdoes

    petervanderdoes Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    Yup that was it.
    Problem solved. It's funny how asking a question can set your brain on a certain path.
     
    petervanderdoes, Nov 20, 2009 IP