Update (admin): Disable google indexing
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user