Just tried to redirect /news-diary/diary-dates/ to /news-diary/ but it doesn't work and I'm not sure if it even should. Am I trying to do something I shouldn't?
The link to /news-diary/diary-dates/ is appearing in Google. Unfortunately, it's dynamically loaded popup content. If you click the Google link you get it's unstyled content and no link to the main site. I was hoping to redirect the link to the parent full page. Also hoping I could arrange for the redirection not to happen if called from the pages own domain.
The problem is that the UrlTracker only kicks in if a page was not found, e.g. the Http Status Code should be 404. If a page was found, the status is 200 and the UrlTracker won't do anything.
I've implemented it like this so the UrlTracker will never disturb umbraco's natural way of rendering pages.
Redirecting popup node to parent
Just tried to redirect /news-diary/diary-dates/ to /news-diary/ but it doesn't work and I'm not sure if it even should. Am I trying to do something I shouldn't?
The link to /news-diary/diary-dates/ is appearing in Google. Unfortunately, it's dynamically loaded popup content. If you click the Google link you get it's unstyled content and no link to the main site. I was hoping to redirect the link to the parent full page. Also hoping I could arrange for the redirection not to happen if called from the pages own domain.
Any advice appreciated.
Craig
Hi Craig,
The problem is that the UrlTracker only kicks in if a page was not found, e.g. the Http Status Code should be 404. If a page was found, the status is 200 and the UrlTracker won't do anything.
I've implemented it like this so the UrlTracker will never disturb umbraco's natural way of rendering pages.
Ah, good point!
Thanks for that, I'll re-engineer the page and popup.
Thanks,
Craig
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.