I am currently running two sites (Australia and New Zealand) with very similar content. There is a number of categories on the Australian site which do not exist on the NZ site, however to create the facade they do, i would like to link them back to the Australian site. I have tried to link document and also insert the href in the source, however it returns with a 404 error.
What is the simplest way to fix this, so it redirects to the Australian site?
Redirect to international page
I am currently running two sites (Australia and New Zealand) with very similar content. There is a number of categories on the Australian site which do not exist on the NZ site, however to create the facade they do, i would like to link them back to the Australian site. I have tried to link document and also insert the href in the source, however it returns with a 404 error.
What is the simplest way to fix this, so it redirects to the Australian site?
Hi lachlan
Do you know about reserved Umbraco properties for redirect?
Read more - https://cultiv.nl/blog/umbraco-tip-of-the-week-redirects/
Is it what you need?
Thanks,
Alex
Thanks Alex.
The website has been setup using accordion items to link back to the main site, however when i go to alter the url, it returns the 404.
Even in one particular case which has an incorrect url format /https:// it's still returned as a 404 when altered.
Hi Iachlan
Can you show how links were made?
How does it look?
The code?
Thanks,
Alex
Hi Alex, Sorry for the bombard ment of code, but here is the RTE source code within accordian and template code.
PERMANENT HEALTH CARE
COMMUNITY CARE
DISABILITY SUPPORT
AGED CARE
NURSING EDUCATION
@using System.Web.Mvc.Html @using Umbraco.Web @using Umbraco.Core.Models @{ Layout = "Master.cshtml"; var caseStudyPage = Umbraco.Content(1796); var auNode = Umbraco.Content(1644); var nzNode = Umbraco.Content(3397); }
@{ Html.RenderPartial("DynamicElementMain"); }
@{ Html.RenderPartial("Breadcrumb"); }
@if (Model.Content.Id == 1644 || Model.Content.Id == 3397){
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.