Skip to content

seo4ajax/seo4ajax-vercel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Integration in the vercel.json file

SEO4Ajax can be integrated on vercel by adding a new rule in the "rewrites" property of the vercel.json file. You just have to replace <token> with your site token on SEO4Ajax.

{
  "rewrites": [
    {
      "source": "/:path(.*)",
      "has": [
        {
          "type": "header",
          "key": "user-agent",
          "value": ".*google|bot|lighthouse|spider|pinterest|crawler|archiver|flipboardproxy|mediapartners|facebookexternalhit|insights|quora|whatsapp|slurp.*"
        }
      ],
      "destination": "https://api.seo4ajax.com/<token>/:path*"
    }
  ]
}

Warning: This configuration works for all application paths except the home page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published