Need Help With Seo Links


I am following

I cannot get this working, my pages hang.



			'showScriptName' => false, 









	public function actionShow($slug)


		$this->render('show', array('model'=>$this->loadModelSlug($slug),);




	public function loadModelSlug($slug)


		$model = Pages::model()->Active()->findByAttributes(array('slug'=>$slug));


			throw new CHttpException(404,'The requested page does not exist.');

		return $model;


RewriteEngine on

# if a directory or a file exists, use it directly

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php

RewriteRule . index.php

Thanks for the help

This is working now,

I had some bad code in the controller that caused PHP to hang.