View Single Post
  #1  
Old 15th May 2009, 11:29
tio289 tio289 is offline
Member
 
Join Date: Mar 2009
Posts: 70
Thanks: 2
Thanked 14 Times in 9 Posts
Default Alias domain 301 redirect

hi. its simply, just edit file /usr/local/ispconfig/interface/web/sites/form/web_aliasdomain.tform.php

this lines
Code:
...
'redirect_type' => array (
			'datatype'	=> 'VARCHAR',
			'formtype'	=> 'SELECT',
			'default'	=> 'y',
			'value'		=> array('' => 'No redirect', 'no' => 'No flag', 'R' => 'R', 'L' => 'L', 'R,L' => 'R,L')
		),
...
to this

Code:
...
'redirect_type' => array (
			'datatype'	=> 'VARCHAR',
			'formtype'	=> 'SELECT',
			'default'	=> 'y',
			'value'		=> array('' => 'No redirect', 'no' => 'No flag', 'R=301,NC' => 'R=301,NC', 'L' => 'L', 'R,L' => 'R,L')
		),
...
you can add your own options, for example
Code:
...
'redirect_type' => array (
			'datatype'	=> 'VARCHAR',
			'formtype'	=> 'SELECT',
			'default'	=> 'y',
			'value'		=> array('' => 'No redirect', 'no' => 'No flag', 'R=301,NC' => 'R=301,NC', 'R=302,NC' => 'R=302,NC', 'L' => 'L', 'R,L' => 'R,L')
		),
...
Reply With Quote
Sponsored Links