Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lesaff/statamic-redirect_to

Statamic Addon to automatically redirect page to the first child
https://github.com/lesaff/statamic-redirect_to

Last synced: 9 days ago
JSON representation

Statamic Addon to automatically redirect page to the first child

Awesome Lists containing this project

README

        

# Statamic Addon to automatically redirect page to the first child
By Rudy Affandi (2015)

Version 1.0.0

## What is this?
`redirect_to` redirects page to its first child

## Changelog
- 1.0.0: Initial release

## Installation
Copy the `redirect_to` folder to the `_add-ons` folder in your Statamic website.

## How to use
Use the following single tag in your template.
`{{ redirect_to response="301" }}`

### Available parameters
`response` By default, this is set to `302`. Options (`301`, `302`)