Try this virtual URI mapping:

class:   i.m.cms.beans.config.RegexpVirtualURIMapping
fromURI: /index/company/blog.html
toURI:   redirect:http://blog.company.com

should do the trick.

HTH,
Jan



On Fri, 2009-10-23 at 12:07 -0400, Jared Barboza wrote:
> I have a multi-level navigation menu setup on a customers' magnolia
> site. It's driven by the model.navigation.horizontalNavigation property
> in one of our freemarker templates. I currently have a page "blog" that
> needs to redirect to http://blog.company.com instead it is pointing to
> /index/company/blog.html.
> 
> Anyone know how/if I can setup a redirect within Magnolia to point
> requests to /index/company/blog.html to http://blog.company.com? I've
> tried setting up a VirtualURIMapping but that only seems to work
> internally not externally.
> 
> 
> Jared Barboza
> Software Developer
> Wake}fly Inc.
> http://:www.wakefly.com
> 33 Lyman Street, Suite 310
> Westborough, MA 01581
> p: 508.616.2042 x23
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to