RE: [contentbox-version] [BE] blog/post/page mapping

Can you tell us what you’ve tried so far? I assume you started with a URL rewrite to add a .cfm somewhere and then a ColdBox route to pick out the page slug.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Well i figured it out. Turned on

setExtensionDetection(true);

in my routes.cfm file and added

setValidExtensions(‘xml,json,jsont,rss**,html,htm,**xsl,txt’);

so now my blogs map to .html as they did in WordPress however I am having another issue along the same lines.

call it www.somedomain.com/someblog.html

now maps to my new blog www.somedomain.com/blog/someblog.html

You can try putting the blog namespace to empty. But that might also conflict with pages later.