Update (admin): Disable google indexing

This commit is contained in:
2023-08-02 01:36:43 +08:00
parent 0284e932ab
commit 8d11ccf2de

View File

@@ -61,10 +61,10 @@ public function indexing(Request $request, $post_id)
$post_url = route('home.country.post', ['country' => $post->post_category?->category?->country_locale_slug, 'post_slug' => $post->slug]);
LaravelGoogleIndexing::create()->update($post_url);
//LaravelGoogleIndexing::create()->update($post_url);
IndexNow::submit($post_url);
return redirect()->back()->with('success', 'Signalled Google, Bing, Yahoo and Yandex for Indexing.');
return redirect()->back()->with('success', 'Signalled, Bing, Yahoo and Yandex for Indexing.');
}
return redirect()->back()->with('error', 'Something went wrong.');