Forum for discussing general topics related to Couch.
4 posts Page 1 of 1
What happens with non couchified pages when eanbling pretty URL's ?

For example I have a portfolio and blog section, contact page is also using Couch tags, but a few other pages have no need for Couch, I've left them as ordinary html pages.

After enabling, will they be mysite/services or mysite/services.html

This part from the documentation is confusing me:

"In Couch Pretty URLS apply only to clonable templates."


Just asking, because I don't want to break anything before enabling them :)
Hi,

The .htaccess file generated using gen_htaccess.php contains rules only for the couchified templates. So, all other (i.e. non-couchified) files should remain totally unaffected.
Thanks KK!


What happens if I add <?php require_once( 'couch/cms.php' ); ?> and its closing tag, create a template and exclude it from admin panel?

Will they then be affected?
If you do that, the template becomes a couchified template and so will get the prettyURLs applied. Doesn't matter if you exclude it from the admin-panel or not.
4 posts Page 1 of 1