charlieb
charlieb

Reputation: 306

Why do my cakephp url's have 'index.php' after the domain?

I've created nice re-directs like this: https://www.lessonshark.com/sign-up

Currently my url's look like this: https://www.lessonshark.com/index.php/sign-up

I am aware that this may be an issue outside of Cakephp, but have no clue where to start with this.

As a small hint, the application has been moved from a Linode Virtual server to an IntoVPS virtual server. On the old Linode server, the routing worked perfectly. On the IntoVPS server the 'index.php' shows up.

Any ideas on how to get rid of the 'index.php' portion? Or even how to investigate what is causing the 'index.php' to show up in the first place?

Upvotes: 0

Views: 175

Answers (1)

Matt Cain
Matt Cain

Reputation: 5768

You need to make sure you have setup mod_rewrite to work with CakePHP. Check the installation guides: 1.3, 2.0

Upvotes: 2

Related Questions