Component delivers 303 status code instead of 301 (#272)
This commit is contained in:
parent
6eb07c1e40
commit
f158889d94
|
@ -305,7 +305,7 @@ class WeblinksControllerWeblink extends JControllerForm
|
|||
if ($link->url)
|
||||
{
|
||||
$modelLink->hit($id);
|
||||
JFactory::getApplication()->redirect($link->url);
|
||||
JFactory::getApplication()->redirect($link->url, 301);
|
||||
}
|
||||
|
||||
return JError::raiseWarning(404, JText::_('COM_WEBLINKS_ERROR_WEBLINK_URL_INVALID'));
|
||||
|
|
Loading…
Reference in New Issue