Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

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

Most URLs wont work unless index.php is at the start


2 Posts   385 Views


7 March 2014 at 7:36am Community Member, 1 Post


I'm working on old code that had its environment set up by someone else. Everything worked fine.

Now I'm setting it up under Linux and finding that a lot of the code breaks when clicking on links.

I.e. http://localhost/index.php/budget/admin/list ... works
but http://localhost/budget/admin/list ... but this fails

Rather than changing all the lniks to have index.php at the start does anyone know how to fix this?

I've tried playing around with mod rewriting/.htaccess but to no avail.

Thank you!


7 March 2014 at 7:53am Forum Moderator, 1796 Posts

Well it certainly is the rewrite module either not enable or something.

The index.php is a substitute for that module.

I advise starting with a fresh install (just the plain cms to test this) and following all install instructions - then when this is working switch focus back to your inherited site.