Dear KK and others,
I have some clonable pages in a template called post.php, which uses dynamic folders. I have created links in my main navigation menu using the cms:folders tag like this:
I've enabled prettyURLs and mostly everything looks great save for one thing:
The url structure is site-name/post/news/ for the news folder, where I would prefer it to be site-name/news
Similarly, for a cloned page, the url structure is site-name/post/news/post-title.html, and I would prefer it to be site-name/news/post-title.html
Is there some way to use cms:link to craft the url? Or another solution? I tried a few things, unsuccessfully and scanned the forum. Thanks in advance
I have some clonable pages in a template called post.php, which uses dynamic folders. I have created links in my main navigation menu using the cms:folders tag like this:
- Code: Select all
<ul>
<cms:folders masterpage='post.php'>
<li>
<a href="<cms:show k_folder_link />"><cms:show k_folder_title /></a>
</li>
</cms:folders>
</ul>
I've enabled prettyURLs and mostly everything looks great save for one thing:
The url structure is site-name/post/news/ for the news folder, where I would prefer it to be site-name/news
Similarly, for a cloned page, the url structure is site-name/post/news/post-title.html, and I would prefer it to be site-name/news/post-title.html
Is there some way to use cms:link to craft the url? Or another solution? I tried a few things, unsuccessfully and scanned the forum. Thanks in advance
