Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Proxy "Pages" in C1?

$
0
0
Hi @RASKOLNIKOOV

We don't have a proxy items concept, however, if you play around with url routing/rewriting, you can make those url-s work even without having C1 pages behind them.

F.e. you can have the following structure

website1
  • page1
website2
  • page1
  • page2
Common pages
  • CommonPage1
  • CommonPage2
If you have a request to website1/CommonPage1, you can rewrite it to /Common pages/CommonPage1, and render the page, and post process the rendered urls in asp.net's response filter.
You can check Composite.Core.WebClient.HttpModules.AdministrativeResponseFilterHttpModule class as an example how to use response filters.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>