src/Models/Redirect.php
public static function createOne($oldUrl, $newUrl, $status = Response::HTTP_MOVED_PERMANENTLY)
    {
        $redirect = new self([
            'old_url' => $oldUrl,
            'new_url' => $newUrl,
            'status'  => $status,
        ]);

        $redirect->save();

        return $redirect;
    }
public static function createOne($oldUrl, $newUrl, $status = Response::HTTP_MOVED_PERMANENTLY)
    {
        $redirect = new self([
            'old_url' => $oldUrl,
            'new_url' => $newUrl,
            'status'  => $status,
        ]);

        $redirect->save();

        return $redirect;
    }
Create a redirect url.

@param  string  $oldUrl
@param  string  $newUrl
@param  int     $status

@return \Arcanedev\LaravelSeo\Models\Redirect