{"id":620,"date":"2023-07-31T09:09:47","date_gmt":"2023-07-31T09:09:47","guid":{"rendered":"https:\/\/www.devopsconsulting.in\/blog\/?p=620"},"modified":"2023-07-31T09:09:49","modified_gmt":"2023-07-31T09:09:49","slug":"how-to-generate-sitemap-in-laravel","status":"publish","type":"post","link":"https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/","title":{"rendered":"How to Generate Sitemap in laravel ?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I&#8217;m going to learn how to create a sitemap in this tutorial. I&#8217;ll explain how to create a dynamic sitemap using laravel 9 in this tutorial.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>SitemapController.php<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n\nnamespace App\\Http\\Controllers;\n\nuse Illuminate\\Http\\Request;\nuse Illuminate\\Support\\Facades\\Http;\nuse Spatie\\Sitemap\\Sitemap;\nuse Spatie\\Sitemap\\Tags\\Url;\nuse Spatie\\Sitemap\\Tags\\Tag;\nuse DOMDocument;\nuse Log;\nclass SitemapController extends Controller\n{\n    public function index()\n    {\n        return view('sitemap');\n    }\n  \n    public function generateSitemapXML($url)\n    {\n        log::info(\"generateSitemapXML\");\n        $xml = '&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?>' . PHP_EOL;\n        $xml .= '&lt;urlset xmlns=\"http:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9\" xmlns:image=\"http:\/\/www.google.com\/schemas\/sitemap-image\/1.1\">' . PHP_EOL;\n    \n        \/\/ Add the homepage URL\n        $homepageUrl = $url;\n        $homepageTotalImages = $this->getTotalImages($homepageUrl);\n        $homepageLastModification = $this->getLastModificationDate($homepageUrl);\n    \n        $xml .= '&lt;url>' . PHP_EOL;\n        $xml .= '&lt;loc>' . $homepageUrl . '&lt;\/loc>' . PHP_EOL;\n        $xml .= '&lt;changefreq>daily&lt;\/changefreq>' . PHP_EOL;\n        $xml .= '&lt;priority>1.0&lt;\/priority>' . PHP_EOL;\n    \n        for ($i = 1; $i &lt;= $homepageTotalImages; $i++) {\n            $xml .= '&lt;image:image>' . PHP_EOL;\n            $xml .= '&lt;image:loc>' . $homepageUrl . '\/image' . $i . '.jpg&lt;\/image:loc>' . PHP_EOL;\n            $xml .= '&lt;image:title>Image ' . $i . '&lt;\/image:title>' . PHP_EOL;\n            $xml .= '&lt;\/image:image>' . PHP_EOL;\n        }\n    \n        $xml .= '&lt;lastmod>' . $homepageLastModification . '&lt;\/lastmod>' . PHP_EOL;\n        $xml .= '&lt;\/url>' . PHP_EOL;\n    \n        \/\/ Fetch all available pages from the website\n        $pageUrls = $this->getWebsitePages($url);\n    \n        \/\/ Add other pages to the sitemap\n        foreach ($pageUrls as $pageUrl) {\n            $pageTotalImages = $this->getTotalImages($pageUrl);\n\n            $pageLastModification = $this->getLastModificationDate($pageUrl);\n    \n            $xml .= '&lt;url>' . PHP_EOL;\n            $xml .= '&lt;loc>' . $pageUrl . '&lt;\/loc>' . PHP_EOL;\n            $xml .= '&lt;changefreq>weekly&lt;\/changefreq>' . PHP_EOL;\n            $xml .= '&lt;priority>0.8&lt;\/priority>' . PHP_EOL;\n    \n            for ($i = 1; $i &lt;= $pageTotalImages; $i++) {\n                $xml .= '&lt;image:image>' . PHP_EOL;\n                $xml .= '&lt;image:loc>' . $pageUrl . '\/image' . $i . '.jpg&lt;\/image:loc>' . PHP_EOL;\n                $xml .= '&lt;image:title>Image ' . $i . '&lt;\/image:title>' . PHP_EOL;\n                $xml .= '&lt;\/image:image>' . PHP_EOL;\n            }\n\n            $xml .= '&lt;lastmod>' . $pageLastModification . '&lt;\/lastmod>' . PHP_EOL;\n            $xml .= '&lt;\/url>' . PHP_EOL;\n        }\n    \n        $xml .= '&lt;\/urlset>' . PHP_EOL;\n        log::info(\"xmlSSS\");\n        log::info($xml);\n        return $xml;\n    }\n\n\n    public function getTotalImages($url)\n{\n    \/\/ Example array representing website pages and their total images\n    $pagesWithTotalImages = &#91;];\n\n    \/\/ Check if the URL exists in the array, and return the total images if found\n    if (array_key_exists($url, $pagesWithTotalImages)) {\n        return $pagesWithTotalImages&#91;$url];\n    } else {\n        \/\/ Return a default value (e.g., 0) if the URL is not found\n        return 0;\n    }\n}\n\npublic function getLastModificationDate($url)\n{\n    \/\/ Example array representing website pages and their last modification dates\n    $pagesWithLastModificationDates = &#91;];\n\n    \/\/ Check if the URL exists in the array, and return the last modification date if found\n    if (array_key_exists($url, $pagesWithLastModificationDates)) {\n        return $pagesWithLastModificationDates&#91;$url];\n    } else {\n        \/\/ Return a default value (e.g., a current date) if the URL is not found\n        return date('Y-m-d'); \/\/ Current date as a default value\n    }\n}\n\n    \n    \n    public function getWebsitePages($url)\n    {\n    $pageUrls = &#91;];\n    $response = Http::get($url);\n    if ($response->successful()) {\n    \/\/ Create a DOMDocument object to parse the HTML\n    $dom = new DOMDocument();\n    libxml_use_internal_errors(true); \/\/ Suppress any HTML parsing errors\n    $dom->loadHTML($response->body());\n    libxml_use_internal_errors(false);\n    \/\/ Find all anchor (a) tags in the HTML\n    $anchors = $dom->getElementsByTagName('a');\n    foreach ($anchors as $anchor) {\n    $href = $anchor->getAttribute('href');\n    \/\/ Check if the href attribute contains a valid URL and is not empty\n    if (filter_var($href, FILTER_VALIDATE_URL) &amp;&amp; !empty($href)) {\n    $pageUrls&#91;] = $href;\n    }\n    }\n    }\n    return $pageUrls;\n    }\n    public function generateSitemap(Request $request)\n    {\n    $websiteUrl = $request->url;\n    \/\/ Generate the sitemap XML\n    $sitemapXml = $this->generateSitemapXML($websiteUrl);\n    return view('table', &#91;'sitemapXml' => $sitemapXml, 'websiteUrl' => $websiteUrl]);\n     }\n     public function downloadSitemap(Request $request)\n  {\n    $websiteUrl = $request->url;\n     \/\/ Generate the sitemap XML\n    $sitemapXml = $this->generateSitemapXML($websiteUrl);\n    \/\/ Set the appropriate headers for download\n    return response($sitemapXml)\n        ->header('Content-Type', 'application\/xml')\n        ->header('Content-Disposition', 'attachment; filename=\"sitemap.xml\"');\n}\n}\n    <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This is <strong>sitemap.blade.php<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    &lt;div class=\"container-wrapper\">\r\n        &lt;div class=\"containers\">\r\n            &lt;h1>Sitemap Generator&lt;\/h1>\r\n            @if (session('success'))\r\n            &lt;div class=\"alert alert-success\">\r\n                {{ session('success') }}\r\n            &lt;\/div>\r\n            @endif   \r\n            @if (session('error'))\r\n            &lt;div class=\"alert alert-danger\">\r\n                {{ session('error') }}\r\n            &lt;\/div>\r\n            @endif\r\n            &lt;form method=\"POST\" action=\"{{ route('sitemap.generate') }}\">\r\n                @csrf\r\n                &lt;input type=\"text\" name=\"url\" placeholder=\"Enter Website URL\">\r\n                &lt;button type=\"submit\">Generate Sitemap&lt;\/button>\r\n            &lt;\/form>\r\n        &lt;\/div>\r\n    &lt;\/div><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And this <strong>table.blade.php<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> &lt;h1>Sitemap of \"{{ $websiteUrl }}\" &lt;\/h1>\r\n    &lt;table>\r\n        &lt;thead>\r\n            &lt;tr>\r\n                &lt;th>URL&lt;\/th>\r\n                &lt;th>Last Modification&lt;\/th>\r\n                &lt;!-- &lt;th>Priority&lt;\/th> -->\r\n            &lt;\/tr>\r\n        &lt;\/thead>\r\n        &lt;tbody>\r\n            &lt;?php\r\n            \/\/ Parse the sitemap XML\r\n            $xml = simplexml_load_string($sitemapXml);\r\n            foreach ($xml->url as $url) {\r\n                $loc = $url->loc;\r\n                $changefreq = $url->image;\r\n                $priority = $url->priority;\r\n                $lastmod = $url->lastmod;\r\n            ?>\r\n            &lt;tr>\r\n                &lt;td>&lt;a href=\"{{ $loc }}\">{{ $loc }}&lt;\/td>\r\n                &lt;td>{{ $lastmod }}&lt;\/td> \r\n                &lt;!-- &lt;td>{{ $changefreq }}&lt;\/td> -->\r\n            &lt;\/tr>\r\n            &lt;?php } ?>\r\n        &lt;\/tbody>\r\n    &lt;\/table>\r\n    &lt;div class=\"center-btn-container\">\r\n        &lt;a id=\"download-sitemap-btn\" href=\"{{ route('download', &#91;'url' => '']) }}\" class=\"btn btn-primary\">Download\r\n            Sitemap&lt;\/a>\r\n    &lt;\/div>\r\n    &lt;!-- &lt;a id=\"download-sitemap-btn\" href=\"{{ route('download', &#91;'url' => '']) }}\" class=\"btn btn-primary\">Download Sitemap&lt;\/a> -->\r\n    &lt;script>\r\n    \/\/ Get the current URL\r\n    var currentUrl = \"{{ $websiteUrl }}\";\r\n\r\n    \/\/ Update the href attribute of the Download Sitemap button\r\n    var downloadUrl = \"{{ route('download', &#91;'url' => '']) }}\"; \/\/ The route with a placeholder for the URL parameter\r\n    var updatedDownloadUrl = downloadUrl.replace('url=', 'url=' + encodeURIComponent(currentUrl));\r\n    document.getElementById(\"download-sitemap-btn\").setAttribute(\"href\", updatedDownloadUrl);\r\n    &lt;\/script><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>web.php<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Route::get('\/', &#91;SitemapController::class, 'index'])->name('sitemap.index');\r\nRoute::post('\/generate', &#91;SitemapController::class, 'generateSitemap'])->name('sitemap.generate');\r\nRoute::get('\/download-sitemap', &#91;SitemapController::class, 'downloadSitemap'])->name('download');<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">after this run this command<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">php artisan serve<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m going to learn how to create a sitemap in this tutorial. I&#8217;ll explain how to create a dynamic sitemap using laravel 9 in this tutorial. SitemapController.php&#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[87],"tags":[120],"class_list":["post-620","post","type-post","status-publish","format-standard","hentry","category-laravel","tag-how-to-generate-sitemap-in-laravel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Generate Sitemap in laravel ? - DevOps Consulting<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Generate Sitemap in laravel ? - DevOps Consulting\" \/>\n<meta property=\"og:description\" content=\"I&#8217;m going to learn how to create a sitemap in this tutorial. I&#8217;ll explain how to create a dynamic sitemap using laravel 9 in this tutorial. SitemapController.php...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/\" \/>\n<meta property=\"og:site_name\" content=\"DevOps Consulting\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-31T09:09:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-31T09:09:49+00:00\" \/>\n<meta name=\"author\" content=\"Abhishek Singh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abhishek Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/how-to-generate-sitemap-in-laravel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/how-to-generate-sitemap-in-laravel\\\/\"},\"author\":{\"name\":\"Abhishek Singh\",\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/#\\\/schema\\\/person\\\/fc397ba8be42f9fdd53450edfc73006f\"},\"headline\":\"How to Generate Sitemap in laravel ?\",\"datePublished\":\"2023-07-31T09:09:47+00:00\",\"dateModified\":\"2023-07-31T09:09:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/how-to-generate-sitemap-in-laravel\\\/\"},\"wordCount\":55,\"commentCount\":2,\"keywords\":[\"How to Generate Sitemap in laravel ?\"],\"articleSection\":[\"Laravel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/how-to-generate-sitemap-in-laravel\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/how-to-generate-sitemap-in-laravel\\\/\",\"url\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/how-to-generate-sitemap-in-laravel\\\/\",\"name\":\"How to Generate Sitemap in laravel ? - DevOps Consulting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/#website\"},\"datePublished\":\"2023-07-31T09:09:47+00:00\",\"dateModified\":\"2023-07-31T09:09:49+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/#\\\/schema\\\/person\\\/fc397ba8be42f9fdd53450edfc73006f\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/how-to-generate-sitemap-in-laravel\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/\",\"name\":\"DevOps Consulting\",\"description\":\"DevOps Consulting | SRE Consulting | DevSecOps Consulting | MLOps Consulting\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/#\\\/schema\\\/person\\\/fc397ba8be42f9fdd53450edfc73006f\",\"name\":\"Abhishek Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g\",\"caption\":\"Abhishek Singh\"},\"description\":\"I\u2019m Abhishek, a DevOps, SRE, DevSecOps, and Cloud expert with a passion for sharing knowledge and real-world experiences. I\u2019ve had the opportunity to work with Cotocus and continue to contribute to multiple platforms where I share insights across different domains: \u2022 DevOps School \u2013 Tech blogs and tutorials \u2022 Holiday Landmark \u2013 Travel stories and guides \u2022 Stocks Mantra \u2013 Stock market strategies and tips \u2022 My Medic Plus \u2013 Health and fitness guidance \u2022 TrueReviewNow \u2013 Honest product reviews \u2022 Wizbrand \u2013 SEO and digital tools for businesses I\u2019m also exploring the fascinating world of Quantum Computing.\",\"url\":\"https:\\\/\\\/www.devopsconsulting.in\\\/blog\\\/author\\\/abhishek\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Generate Sitemap in laravel ? - DevOps Consulting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/","og_locale":"en_US","og_type":"article","og_title":"How to Generate Sitemap in laravel ? - DevOps Consulting","og_description":"I&#8217;m going to learn how to create a sitemap in this tutorial. I&#8217;ll explain how to create a dynamic sitemap using laravel 9 in this tutorial. SitemapController.php...","og_url":"https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/","og_site_name":"DevOps Consulting","article_published_time":"2023-07-31T09:09:47+00:00","article_modified_time":"2023-07-31T09:09:49+00:00","author":"Abhishek Singh","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abhishek Singh","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/#article","isPartOf":{"@id":"https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/"},"author":{"name":"Abhishek Singh","@id":"https:\/\/www.devopsconsulting.in\/blog\/#\/schema\/person\/fc397ba8be42f9fdd53450edfc73006f"},"headline":"How to Generate Sitemap in laravel ?","datePublished":"2023-07-31T09:09:47+00:00","dateModified":"2023-07-31T09:09:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/"},"wordCount":55,"commentCount":2,"keywords":["How to Generate Sitemap in laravel ?"],"articleSection":["Laravel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/","url":"https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/","name":"How to Generate Sitemap in laravel ? - DevOps Consulting","isPartOf":{"@id":"https:\/\/www.devopsconsulting.in\/blog\/#website"},"datePublished":"2023-07-31T09:09:47+00:00","dateModified":"2023-07-31T09:09:49+00:00","author":{"@id":"https:\/\/www.devopsconsulting.in\/blog\/#\/schema\/person\/fc397ba8be42f9fdd53450edfc73006f"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.devopsconsulting.in\/blog\/how-to-generate-sitemap-in-laravel\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.devopsconsulting.in\/blog\/#website","url":"https:\/\/www.devopsconsulting.in\/blog\/","name":"DevOps Consulting","description":"DevOps Consulting | SRE Consulting | DevSecOps Consulting | MLOps Consulting","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.devopsconsulting.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.devopsconsulting.in\/blog\/#\/schema\/person\/fc397ba8be42f9fdd53450edfc73006f","name":"Abhishek Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/790feefe779852cdf344ca7318bf6c13832223c9b3c6bf4d217658412041026d?s=96&d=mm&r=g","caption":"Abhishek Singh"},"description":"I\u2019m Abhishek, a DevOps, SRE, DevSecOps, and Cloud expert with a passion for sharing knowledge and real-world experiences. I\u2019ve had the opportunity to work with Cotocus and continue to contribute to multiple platforms where I share insights across different domains: \u2022 DevOps School \u2013 Tech blogs and tutorials \u2022 Holiday Landmark \u2013 Travel stories and guides \u2022 Stocks Mantra \u2013 Stock market strategies and tips \u2022 My Medic Plus \u2013 Health and fitness guidance \u2022 TrueReviewNow \u2013 Honest product reviews \u2022 Wizbrand \u2013 SEO and digital tools for businesses I\u2019m also exploring the fascinating world of Quantum Computing.","url":"https:\/\/www.devopsconsulting.in\/blog\/author\/abhishek\/"}]}},"_links":{"self":[{"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/posts\/620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/comments?post=620"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/posts\/620\/revisions"}],"predecessor-version":[{"id":622,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/posts\/620\/revisions\/622"}],"wp:attachment":[{"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/media?parent=620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/categories?post=620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsconsulting.in\/blog\/wp-json\/wp\/v2\/tags?post=620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}