silverstripe-cms/tests/model/RedirectorPageTest.yml

40 lines
1.0 KiB
YAML
Raw Normal View History

Page:
dest:
Title: Redirection Dest
URLSegment: redirection-dest
2016-08-10 06:08:39 +02:00
SilverStripe\CMS\Model\RedirectorPage:
goodexternal:
Title: Good External
URLSegment: good-external
RedirectionType: External
ExternalURL: http://www.google.com
goodinternal:
Title: Good Internal
URLSegment: good-internal
RedirectionType: Internal
LinkTo: =>Page.dest
badexternal:
Title: Bad External
RedirectionType: External
URLSegment: bad-external
externalnoprefix:
Title: External no prefix
RedirectionType: External
URLSegment: external-no-prefix
ExternalURL: google.com
badinternal:
Title: Bad Internal
RedirectionType: Internal
URLSegment: bad-internal
reflexive:
Title: Reflexive
RedirectionType: Internal
2016-08-10 06:08:39 +02:00
LinkTo: =>SilverStripe\CMS\Model\RedirectorPage.reflexive
URLSegment: reflexive
transitive:
Title: Transitive
RedirectionType: Internal
2016-08-10 06:08:39 +02:00
LinkTo: =>SilverStripe\CMS\Model\RedirectorPage.goodinternal
URLSegment: transitive