You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RedDot CMS Users
Hello everyone. Does anyone know how can I use Delivery Server to
provide a custom 404 error page per language variant? Each variant
has its own directory structure on the same domain. Is there a way to
analyze the offending URL, and then redirect to a language specific
page?
Thanks to info on the following pages/discussions, I've been able to
get proper 404 errors working:
If worse came to worse, I know that I could use javascript to redirect
to other pages - but I'd rather not use client-side methods.
Tim D
unread,
Jul 14, 2011, 4:40:16 PM7/14/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reddot-c...@googlegroups.com
You can use the include DynaMent to embed the page you want or use the Process DynaMent to redirect with 30x headers.
Also If you are using locale's you can have multiple language variants publish to the same content in different locals. With this the same content and the current locale will govern which language you see.
Walter
unread,
Jul 14, 2011, 9:35:50 PM7/14/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reddot-c...@googlegroups.com
Thanks for the reply Tim. We are not currently using locales - I shall have to read up on them.
It seems though that DynaMents should be able to solve the problem. The code below is not working, but illustrates what I'm trying to accomplish. Am I on the right track?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reddot-c...@googlegroups.com
Hi,
Looks pretty close think you'd want to run your tests on these session variables found in dynaments manual appendix.
rdeErrorInfoCurrent URL of the last request for this session. Exception: Not set for requests to the standard Weblet for delivering BLOB content (alias: "xbcr").
or
rdeErrorInfoXml Name of the last content item requested
If you were using locales you could compare against this:
rdeCurrentLocale Language of the session This parameter is set during authentication. It can be read, but not written.
Walter
unread,
Jul 18, 2011, 10:36:09 AM7/18/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reddot-c...@googlegroups.com
That's the missing link I was looking for. Thanks! Here's what I ended up with, and it works great.