Robots.txt Unreachable

HTTP/2 200 
accept-ranges: bytes
access-control-allow-origin: *
age: 0
cache-control: public, max-age=0, must-revalidate
content-disposition: inline
content-type: text/plain
date: Thu, 08 Aug 2024 12:43:58 GMT
etag: "e0fcb1056077197be574fe703c80743e"
server: Vercel
strict-transport-security: max-age=63072000
vary: RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Url
x-matched-path: /robots.txt
x-vercel-cache: PRERENDER
x-vercel-id: bom1::7l4r2-1723121038658-afc4281b1078
content-length: 198

https://tabeer.ae/robots.txt
I am still getting Unreachable on Google Search Console

Hi, @akashdeepsharma996-g!

Does this solution help?

1 Like

The header will be added in next.config ?? right

/** @type {import('next').NextConfig} */
const nextConfig = {
  images: {
    remotePatterns: [
    ],
  },
  async headers() {
    return [
      {
        source: '/:path*',
        headers: [
          {
            key: 'Accept-Language',
            value: 'en-US,en;q=0.5', // Default language header
          },
        ],
      },
    ];
  },
};

export default nextConfig;

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.