Redirect parent to home page

Permalink
Hi,

Iam working on the main nave-bar of the site with default theme. Each parent page has sub pages in my nave bar and I am looking to find a way to make these parent pages as not clikable or if some one click on them it redirect him to home page. Is this is possible with the default theme?

Thank and I really appreciate any help.

 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi asma,

For redirecting the parent pages to the home page:
- You could create a custom template for the Auto-Nav block that made parent pages link to the home page.
- Use a redirect block or attribute.
https://www.concrete5.org/marketplace/addons/page-redirect1...
https://www.concrete5.org/marketplace/addons/redirect...
ramonleenders replied on at Permalink Reply
ramonleenders
Alternatively, you can use "Page Child Redirect" to redirect a parent page directly to a child page. This can be set per page. So if you want 5 to link to some (first, last, random) child page and 1 to the homepage, you can do just that (parent page is an option within the Add-On).

See for the rest of the available page options on the marketplace page here:

http://www.concrete5.org/marketplace/addons/page-child-redirect...
asma replied on at Permalink Reply
thank you for your help. I will try to use this solution when I need to redirect even child in the future. looks useful feature.

thanks.
asma replied on at Permalink Reply
thank you so much you. I did the redirect add one and it works great.
thanks again.