Hi,
i’ve a site working in local and remote server. I’m migrating it on a new server and works.
The only thing i can’t get are (standard) rules for pretty url. These rules works perfectly in development and production, but fails in the new server.
The error i get is in every detail view (actionView, url like /index.php/controllerName/18652), regardless of the controller used. System say: System couldn't find the required "18652" action
Seems it miss the action and get the id as action
Also the update actions (url like /index.php/controllerName/update/18652) returns a “400 error”
Thank you alirz23 but .htaccess works and rewriterule is on.
That should only be needed to suppress the index.php part of the url, isn’t it?
I suppose that the server or Yii is not able to catch the id part of the url rule…but… why???
I also believe it has to do something with index.php can you manually remove it and try if that works, can you also make the following changes in your urlManager config