Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a strange issue using the latest version of Articulate and Umbraco. I have two blogs, one under a parent node called EN and the other under a parent node called ES. All functionality works perfectly fine on the EN blog however whenever I click the link to a post on the ES blog I get a 404 error. The blog listing, category selection, tag selection, recent posts, etc. all work fine.
I can see the action Index getting hit in the BlogPostControllerBase class for posts under EN but it is never hit when I try to access a blog post under the ES blog.
What could be causing this issue. I have tried clearing the cache, bouncing the web.config, republishing the whole ES blog, but it still doesn't work.
Is ES and EN both Umbraco root nodes? If so, you cannot have 2 Umbraco root nodes without specifying domains on them, only one Umbraco root node can have no domains, otherwise routing problems occur, example:
as you can see there's no way to differentiate between these two, umbraco will try but under several different circumstances, without having domains assigned to your root nodes routing issues will occur.
Let me know if this is the problem.
Sorry, I should have explained a bit more in details, the structure is as follows:
The EN node has been given a domain name and the ES node has been given a different node name. If you look at the following URLs you will see the issue in question:
https://atmosi.com/blog/ - Blog works fine, links to posts work fine
https://atmosila.com/blog/ - Blog works fine, links to posts do not
In addition, I have just noticed that the error being given is not that the umbraco document does not exist, more that no template exists to render the document. I have checked and ensured that the custom theme being used has been selected for both blogs.
For anyone who might have the same problem, I have worked out what the issue was.
I had created a different type of blog post for the Spanish blog posts as different content was required. What I had forgotten to do was to replicate the ArticulateRichTextController.cs and BlogPostControllerBase.cs files to match the document type names of the Spanish blog posts, so in this case ArticulateRichTextSpanishController.cs and SpanishBlogPostControllerBase.cs.
Adding these sorted the issue out.
Hi Graham! Thanks for posting this. I think I'm having a similar issue. I have added another blog to the root and modified the document type for the post. I'm getting the same error -- template doesn't exist. Where did you find the controllers that you replicated?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted