Skip to content

Commit 0c43844

Browse files
committed
Updated redirect
1 parent 03c1ba6 commit 0c43844

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/Http/Controllers/UserController.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,10 @@ public function clickNumber(request $request)
499499

500500
Link::where('id', $linkId)->increment('click_number', 1);
501501

502-
return redirect()->away($link);
502+
$response = redirect()->away($link);
503+
$response->header('X-Robots-Tag', 'noindex, nofollow');
504+
505+
return $response;
503506
}
504507

505508
//Download Vcard

0 commit comments

Comments
 (0)