Sitemap cakephp with Routes

Asked

Viewed 30 times

0

Instead of doing sitemap on the nail, it is possible to make a method inside my Routes, which, all pages that exist in my project, are mapped by sitemap?

1 answer

0

I made a table of pages with parent_id and then I do the following search with sitemap mounted

$this->Paginas->find('treeList',[ 'spacer' => '... '])->toArray();

Browser other questions tagged

You are not signed in. Login or sign up in order to post.