Jump to:

23550 Posts in 19336 Topics by 2890 members

General Questions

SilverStripe Forums » General Questions » index.php showing up

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1709 Views
  • cumquat
    Avatar
    Community Member
    198 Posts

    index.php showing up Link to this post

    Hi there,

    Over the last few weeks i have been building a few sites on different servers with 3.1 beta 2 and now beta 3 and i seem to be getting a lot of issues with index.php showing up.
    Mod_rewrite is on and my .htaccess file is the standard default one. if i remove index.php from the url the site works perfect showing that mod-rewrite is working yet when i go back to the home page and chose a menu item it puts the index.php back into the link.

    Anyone else noticed this or having the same problem?

    Mick

  • Bambii7
    Avatar
    Community Member
    254 Posts

    Re: index.php showing up Link to this post

    Are you cconfident mod_rewrite is enabled in Apache not just in the htaccess?
    Or make sure .htaccess files are enabled (or preferably have the htaccess content in the sites-enabled config file)

    it sounds like this just isn't getting hit in the when apache requests the file
    IfModule mod_rewrite.c
    RewriteEngine On
    RewriteBase '/'

  • Nobrainer Web
    Avatar
    Community Member
    135 Posts

    Re: index.php showing up Link to this post

    After removing index.php did you ?flush=all.

    I remember having this issue on sites before, but as far as i remember, it worked when removing index.php

  • cumquat
    Avatar
    Community Member
    198 Posts

    Re: index.php showing up Link to this post

    Thanks guys,

    You know i have never deleted the index.php file on all the sites i have done (over 40)

    But yea removing the index.php file fixed my problem...

    Thanks for that.

    Mick

  • thomas.paulson
    Avatar
    Community Member
    79 Posts

    Re: index.php showing up Link to this post

    I had the similar issue, style we not applied, removing the index.php solved my problem.

    Thanks everyone

  • kevinstripe
    Avatar
    Community Member
    10 Posts

    Re: index.php showing up Link to this post

    Yes, I had kind of same problem and I also fixed it by removing index.php.

  • bunheng
    Avatar
    Community Member
    78 Posts

    Re: index.php showing up Link to this post

    Hi,

    I am the same issue, after installing the WAMP server on my machine, I did checked the rewrite module is working, is there any clue to make it work without removing index.php or customize the code?

    Thanks

    1709 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.