Reputation: 11
i would like to customize url slug from back end for my seo purpose. rigt now what is my status here in application means .
the url slug automatically detect title and set the title as it is
problem is i dont want this auto set url i just want to customize each and every post url
please guide me any one
2 what all are the thing need to be add in controller file
4, Database already have field in name of slug do i need to create any new ??
please give me some solution
Upvotes: 0
Views: 1047
Reputation: 5767
Use Html helper and create links with slug
$this->Html->link(
'title here',
array('action' => ' view', $article['Article']['slug']));
in Controller findBySlug
Upvotes: 1