I’ve looked in the Wiki and generally within the forum without much luck. I need to redirect a folder to it parent as its not a page of interest for visiting users.
-
☆ A M B ☆
- 24,524 Posts
The FirstChildRedirect snippet should be included in a MODx installation. When used as a document’s content it will redirect to the first child of that document.
Hi sottwell,
I’ve uploaded [!FirstChildRedirect &docid=`2`!] into my resource content with a blank template. Is this correct? as it fails to work.
-
☆ A M B ☆
- 24,524 Posts
You need to have a ? immediately after the snippet name.
[[FirstChildRedirect? &docid=`2`]]
Hi sottwell, that didn’t seem to work either? Weird
thanks sharkbait, the phiRedirect-Snippet worked a treat