Forum for discussing general topics related to Couch.
4 posts Page 1 of 1
I have a site with dynamic CouchCMS pages and some static pages without CouchCMS. I'm loading the menu via an include and switching according to which file is loading; so for the dynamic files their menu link will be set as
Code: Select all
<cms:link 'somepage.php' />
and in the static files that link will be to
Code: Select all
somepage.php
.

With K_PRETTY_URLS set to 1 in config.php the links to dynamic pages work as expected, but for the static pages when the menu is loaded on a dynamic page the link url appears as
Code: Select all
/current-page-name/static-file-name.php
, it tags the filename on to the end of the current 'pretty url'.

Is there a recommended configuration for pretty urls when there is a mix of dynamic CouchCMS pages and also static html pages?
Couch is not aware of "other static" php pages. Under the circumstances you can try writing full URLs, possibly prefixed with <cms:show k_site_link/> for brevity.
@trendoman yes that works nicely, thanks!
NickW wrote: @trendoman yes that works nicely, thanks!

;)
4 posts Page 1 of 1
cron