Skip to main content
Home
Docs
Contact
Store
Blog
Forum
Register
Log in
Home
Forum
A tip on how to change blog url in multi-tenant sites
To ensure you get the best experience, this website uses cookies.
Learn More
Accept
Session Expiry
For your security, your session will time out in
seconds...
A tip on how to change blog url in multi-tenant sites
Delete
Edit
0
viewed
1052
posted
besdriscoll
Title
Body
hi all, I worked this out and just thought it might be useful for others. I have a site with three tenants (root site and two folder tenants) and each site has a blog. i'm ok with the root site blog using /blog/ in urls but this was not appropriate for the other tenants - I wanted to use /stories/ instead. I found this was possible by changing this line in RoutingAndMvc.cs: routes.AddBlogRoutesForSimpleContent(new cloudscribe.Core.Web.Components.SiteFolderRouteConstraint()); to this routes.AddBlogRoutesForSimpleContent(new cloudscribe.Core.Web.Components.SiteFolderRouteConstraint(), "stories"); I actually couldn't work out how to use a different segement in each folder tenant, but in the end this didn't matter. Though if anyone can tell that would be great!
Preview
Tags
simple-content
Save
Cancel Edit
add a comment
add comment
Answers
Please enable javascript to use this feature.
Confirm Delete
×
Are you sure you want to delete the this Thread?
Insert Link
Upload a File
File uploads are not supported
Accepted file types: application/pdf,text/plain
Drop file here or click to browse device for file.
Browse Server
Insert Image
Drop file here or click to browse device for file.
Browse Server
Ask Question
Tags
azure
cloudscribe-core
custom-registration
file-manager
forms-and-surveys
forums
identityserver
membership
navigation
newsletter
pagination
pwakit
simple-content
talkabout-comments
themes