Does anyone know of a more bullet proof 'Redirect to child'?
Permalink
Hi There,
After using 'Redirect to first child' we've discovered that the redirect only works for items clicked on the site - the url is still accessible from Google or if it's typed in.
We've tried using a 301 redirect but suspect we need to use some regular expressions as the redirect continuously loops:
Does anyone know of a more bullet proof 'Redirect to child'?
Any pointers in the right direction would be much appreciated.
Cheers
Ben
After using 'Redirect to first child' we've discovered that the redirect only works for items clicked on the site - the url is still accessible from Google or if it's typed in.
We've tried using a 301 redirect but suspect we need to use some regular expressions as the redirect continuously loops:
Redirect 301 /events/show/ /events/show/exhibit/
Does anyone know of a more bullet proof 'Redirect to child'?
Any pointers in the right direction would be much appreciated.
Cheers
Ben
You could also try using the (Free!) addons fom Mnkras below. They don't apply a 're-direct to first child' rule, but are very good as a simple page redirect that you switch on and configure easily in the parent page attributes. They will do what you want.
First install this:
http://www.concrete5.org/marketplace/addons/page-selector-attribute...
Then this:
http://www.concrete5.org/marketplace/addons/page-redirect/...
Then look for 'Page redirect' in page properties -> custom attributes. It will provide the dashboard sitemap whcih will allow you to choose which page you want to redirect to.
First install this:
http://www.concrete5.org/marketplace/addons/page-selector-attribute...
Then this:
http://www.concrete5.org/marketplace/addons/page-redirect/...
Then look for 'Page redirect' in page properties -> custom attributes. It will provide the dashboard sitemap whcih will allow you to choose which page you want to redirect to.
found an interesting article on using a header redirect here: http://www.concrete5.org/community/forums/customizing_c5/redirect_f...
Also, there is an add on available as well: http://www.concrete5.org/marketplace/addons/seo-301-redirects/...
Happy Coding!