Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Note unsupported


Warning
titleEngine Compatibility
redirect is not supported by the Node engine.

redirect(<url>)

Redirect to the given URL. 

Code Block
languagejavascript
themeConfluencelanguagejavascript
redirect("http://apps.kynetx.com/")

The following ruleset shows redirect() being used

Code Block
languagejavascript
themeConfluencelanguagejavascript
ruleset a1299x180 {
	meta {
		name "Redirect Example"
		description <<
			
		>>
		author "nathan cerny"
		logging off
	}
	dispatch {
		// domain "exampley.com"
	}
	global {
	}
	rule first_rule {
		select when pageview ".*" setting ()
		redirect('http://apps.kynetx.com/')
	}
}

...