# Redirects in v9

**URL:** <https://forums.concretecms.org/t/redirects-in-v9/4139>\
**Category:** Developing with Concrete\
**Created:** [October 4, 2022, 11:31pm UTC](https://forums.concretecms.org/t/redirects-in-v9/4139 "2022-10-04T23:31:19Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![fridayphoto](https://forums.concretecms.org/user_avatar/forums.concretecms.org/fridayphoto/32/5121_2.png) [@fridayphoto](https://forums.concretecms.org/u/fridayphoto)\
**Post date:** [October 4, 2022, 11:31pm UTC](https://forums.concretecms.org/t/redirects-in-v9/4139/1 "2022-10-04T23:31:19Z")

</div>

Hello team, hope everyone is having a good September. I took the plunge and started building my own site with v9 and Replica theme and it’s going pretty good but I’m stumbling on one thing. I previously used ‘Page Child Redirect’ addon to redirect a parent page to it’s first child. A common practice in my sites. That addon isn’t v9 compatible (or so it says). Any other fairly easy way to accomplish this?

---

<div class="post-metadata">

**Author:** ![anon83226287](https://forums.concretecms.org/letter_avatar_proxy/v4/letter/a/9de0a6/32.png) [@anon83226287](https://forums.concretecms.org/u/anon83226287)\
**Post date:** [October 5, 2022, 8:36am UTC](https://forums.concretecms.org/t/redirects-in-v9/4139/2 "2022-10-05T08:36:10Z")

</div>

In your dashboard go to “Pages&Themes”, there you see “Attributes”  
There you can add a page attribute “Replace Link with First in Nav” which is built in.  
Use a checkbox attribute with `replace_link_with_first_in_nav`, name it ‘Replace Link with First in Nav’ and save. It should appear now in Attributes on your page. Add and activate it. It works on our v9 installations. I hope it works for you.

---

<div class="post-metadata">

**Author:** ![fridayphoto](https://forums.concretecms.org/user_avatar/forums.concretecms.org/fridayphoto/32/5121_2.png) [@fridayphoto](https://forums.concretecms.org/u/fridayphoto)\
**Post date:** [October 5, 2022, 7:18pm UTC](https://forums.concretecms.org/t/redirects-in-v9/4139/3 "2022-10-05T19:18:51Z")

</div>

Awesome! I hoped there was some trick like that. I implemented this and it worked like a charm. Thanks!

---

<div class="post-metadata">

**Author:** ![mnakalay](https://forums.concretecms.org/user_avatar/forums.concretecms.org/mnakalay/32/6276_2.png) [@mnakalay](https://forums.concretecms.org/u/mnakalay)\
**Post date:** [October 7, 2022, 4:19pm UTC](https://forums.concretecms.org/t/redirects-in-v9/4139/4 "2022-10-07T16:19:18Z")

</div>

@fridayphoto please keep in mind that those two things don’t work the same way.

The page redirect will stop anyone from seeing the page by always redirecting.

the “replace link with first in nav” attribute only works to do just that: replaces the link. Nothing is stopping users from navigating to that page if they have the link. It’s not a redirect.

It’s also only used in Autonav so, for instance, a page list will show the page you’re trying to hide.

I would suggest you have a look at this v9 package: [Conditional Redirect - Concrete CMS](https://marketplace.concretecms.com/marketplace/addons/conditional-redirect)

Or at this one: [Page Redirect - Concrete CMS](https://marketplace.concretecms.com/marketplace/addons/page-redirect1)

The second one is also not marked v9 compatible but it’s free so at least you can try it without spending the money

---

<div class="post-metadata">

**Author:** ![anon57845837](https://forums.concretecms.org/letter_avatar_proxy/v4/letter/a/94ad74/32.png) [@anon57845837](https://forums.concretecms.org/u/anon57845837)\
**Post date:** [October 8, 2022, 8:16pm UTC](https://forums.concretecms.org/t/redirects-in-v9/4139/5 "2022-10-08T20:16:39Z")

</div>

I believe that most users want their visitors not to land on a parent page with no use exept showing a list of subpages. So, from a users point of view I consider the answer of @anon83226287 somehow correct and useful. Where as @mnakalay delivers a precise answer and technical distinction of the subject. I’m glad I learned that htere’s mor to this problem.

I comment to this thread because I wonder why "replace link with first in nav» is built in and why is it not in available in the selection of page attributes? It its confusing. I, for instance want to skip the parent page and go directly to the my page. Both, also «replace link with first in nav» and «redirect» don’t serve what I want.

How do I get to my desired page directly?

Thanks

Carmel

---

<div class="post-metadata">

**Author:** ![anon57845837](https://forums.concretecms.org/letter_avatar_proxy/v4/letter/a/94ad74/32.png) [@anon57845837](https://forums.concretecms.org/u/anon57845837)\
**Post date:** [November 17, 2022, 9:38am UTC](https://forums.concretecms.org/t/redirects-in-v9/4139/6 "2022-11-17T09:38:11Z")

</div>

@anon83226287 I have downloaded your template from an earlier post about “inactive parent link” at [Autonav - need a item that doesnt act as a page link - #6 by TMDesigns](https://forums.concretecms.org/t/autonav-need-a-item-that-doesnt-act-as-a-page-link/1344/6) I installed it but won’t work. On an older site, running v.8 it works perfectly.  
Now, I’m on v.9.1 with php8.

---

<div class="post-metadata">

**Author:** ![anon83226287](https://forums.concretecms.org/letter_avatar_proxy/v4/letter/a/9de0a6/32.png) [@anon83226287](https://forums.concretecms.org/u/anon83226287)\
**Post date:** [November 18, 2022, 10:02am UTC](https://forums.concretecms.org/t/redirects-in-v9/4139/7 "2022-11-18T10:02:16Z")

</div>

That is an old template that works in v.7+8, with “Responsive Header Navigation” and won’t work under cms version 9.  
PM me, I’ll send you a v.9 template.

---

<div class="post-metadata">

**Author:** ![fridayphoto](https://forums.concretecms.org/user_avatar/forums.concretecms.org/fridayphoto/32/5121_2.png) [@fridayphoto](https://forums.concretecms.org/u/fridayphoto)\
**Post date:** [March 8, 2023, 10:42pm UTC](https://forums.concretecms.org/t/redirects-in-v9/4139/8 "2023-03-08T22:42:34Z")

</div>

This doesn’t seem to work in the Atomik theme in v9 with the ‘Top Navigation Bar’ block.

---

<div class="post-metadata">

**Author:** ![anon57845837](https://forums.concretecms.org/letter_avatar_proxy/v4/letter/a/94ad74/32.png) [@anon57845837](https://forums.concretecms.org/u/anon57845837)\
**Post date:** [March 9, 2023, 9:07am UTC](https://forums.concretecms.org/t/redirects-in-v9/4139/9 "2023-03-09T09:07:37Z")

</div>

If you want the Volkswagen Version, there is always the brute force option to redirect a page.

Put this line of code into header extra content.

`<META http-equiv="refresh" content="10; url=[website.com/targetpage](http://website.com/targetpage)">` (“content” stands for seconds)

… no extra coding, no cms version problems, no expiring addon …

If you need the Rolls Royce Solution, then you need JohnTheFish’s «Conditional Redirect», that is professional top solution
