Add autoindexing
This commit is contained in:
@@ -30,12 +30,12 @@ public static function handle(int $ai_tool_id)
|
||||
$ai_tool_url = route('front.aitool.show', ['ai_tool_slug' => $ai_tool->slug]);
|
||||
|
||||
try {
|
||||
IndexNow::submit($post_url);
|
||||
IndexNow::submit($ai_tool_url);
|
||||
} catch (Exception) {
|
||||
}
|
||||
|
||||
try {
|
||||
LaravelGoogleIndexing::create()->update($post_url);
|
||||
LaravelGoogleIndexing::create()->update($ai_tool_url);
|
||||
} catch (Exception) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user