From 8d11ccf2def9f198e9a4122de1b34ceba9b70dd9 Mon Sep 17 00:00:00 2001 From: Charles T Date: Wed, 2 Aug 2023 01:36:43 +0800 Subject: [PATCH] Update (admin): Disable google indexing --- app/Http/Controllers/Admin/PostController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Admin/PostController.php b/app/Http/Controllers/Admin/PostController.php index fe38f88..d0a36ff 100644 --- a/app/Http/Controllers/Admin/PostController.php +++ b/app/Http/Controllers/Admin/PostController.php @@ -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.');