Strange not page found

I have this strange problem,I create this action but when I go to the IE there is the 404 not found error,

what is wrong,this problem I have with another one action

public function actionType($param) {


       $model=   \app\models\Buildtype::find()->where(['id' =>$param])->one();;

         return $this->render('type',  array('model'=>$model));



The url is /web/site/type/1

Show your entire controller.

By the way, what is wrong with your code formatting?

Try URL /web/site/type/?param=1.