I don’t know much about ContentBox, but it seems as if the __media
route is somehow being set as “canonical” somewhere, and I do
not seem to be able to override it or change it in anyway. Here is what I have tried:
Changed settings in cbadmin to tell the application where the root directory of my content is located.
Made changes in \modules\contentbox\modules\contentbox-ui\ModuleConfig.cfc.
Made changes in \modules\contentbox\modules\contentbox-ui\handlers\media.cfc.
Tried creating new routes or URL rewrites in the ColdBox.
Created ColdFusion mappings and URL rewrite rules in IIS.
None of these changes had any impact at all -- the __media pattern seems impervious to anything I throw at it. Note, I restart the application – and usually ColdFusion itself – each time I make changes. I have cleared CF’s template cache.
Is there some way I can simply turn off the __media route altogether, and just use the full normal URL? It seems a shame to have to do that, but I will be unable to use ContentBox for our websites if I cannot get this resolved. And so far, I am completely stumped! Thanks a lot!
--
--
For News, visit https://www.ortussolutions.com/blog/category/contentbox-cms
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/CONTENTBOX
---
You received this message because you are subscribed to the Google Groups "ContentBox Modular CMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to contentbox+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/contentbox/f3cc6270-b8de-46d3-9b59-c79958d77627%40googlegroups.com.
--
--
For News, visit https://www.ortussolutions.com/blog/category/contentbox-cms
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/CONTENTBOX
---
You received this message because you are subscribed to the Google Groups "ContentBox Modular CMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to contentbox+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/contentbox/dbbefb1f-c750-4d53-b2bd-e7084fb624fc%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to conte...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to contentbox+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/contentbox/104d9c7d-6ed6-4f35-95c2-396c08234bf5%40googlegroups.com.
Best wishes.
Luis F. Majano CEO | |
Just a little side note... Your rule will be applied to jpgs only. Don't know contentbox that well, but because this media directory is a directory for uploaded media files, please keep in mind that whenever you upload a media file with a different file extension than .jpg (e.g. .jpeg .png .gif ), you'll need to adapt/update the url rewrite rule to work for them also. Best wishes. -- -- For News, visit https://www.ortussolutions.com/blog/category/contentbox-cms For Bug Reports, visit https://ortussolutions.atlassian.net/browse/CONTENTBOX --- You received this message because you are subscribed to the Google Groups "ContentBox Modular CMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to contentbox+...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/contentbox/c5fc3ab5-a6c1-4571-b4a4-6e17d88a55f4%40googlegroups.com.
wow, that is so tricky.Where do you think it would be best to add to the docs about this, ideas?
Luis F. MajanoCEO
On Apr 16 2020, at 9:54 pm, Andy Rueger <andrea...@gmail.com> wrote:Just a little side note... Your rule will be applied to jpgs only. Don't know contentbox that well, but because this media directory is a directory for uploaded media files, please keep in mind that whenever you upload a media file with a different file extension than .jpg (e.g. .jpeg .png .gif ), you'll need to adapt/update the url rewrite rule to work for them also. Best wishes. -- -- For News, visit https://www.ortussolutions.com/blog/category/contentbox-cms For Bug Reports, visit https://ortussolutions.atlassian.net/browse/CONTENTBOX --- You received this message because you are subscribed to the Google Groups "ContentBox Modular CMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to conte...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/contentbox/c5fc3ab5-a6c1-4571-b4a4-6e17d88a55f4%40googlegroups.com.
--
--
For News, visit https://www.ortussolutions.com/blog/category/contentbox-cms
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/CONTENTBOX
---
You received this message because you are subscribed to a topic in the Google Groups "ContentBox Modular CMS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/contentbox/vMFfsxscxZ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to contentbox+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/contentbox/70174dfc-4e9e-487a-be92-79e8eb5d1f04%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "ContentBox Modular CMS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/contentbox/vMFfsxscxZ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to contentbox+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/contentbox/FCDC9FBE-406F-485A-B0CF-B12BC7F8B529%40getmailspring.com.