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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

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

Go to End

2 Posts   733 Views


Community Member, 1 Post

7 March 2014 at 7:36am


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!


Forum Moderator, 1899 Posts

7 March 2014 at 7:53am

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.