Update (major): Add search engine submission button

This commit is contained in:
2023-08-02 00:05:44 +08:00
parent 592637b0b3
commit a8d9c174de

View File

@@ -48,7 +48,7 @@ public function indexing(Request $request, $post_id)
LaravelGoogleIndexing::create()->update($post_url); LaravelGoogleIndexing::create()->update($post_url);
IndexNow::submit($post_url); IndexNow::submit($post_url);
return redirect()->back()->with('success', 'Signalled Google for Indexing.'); return redirect()->back()->with('success', 'Signalled Google, Bing, Yahoo and Yandex for Indexing.');
} }
return redirect()->back()->with('error', 'Something went wrong.'); return redirect()->back()->with('error', 'Something went wrong.');