GithubHelp home page GithubHelp logo

vercelredirect's Introduction

Vercel Redirect

It redirects the website request from facebook to any blog while keeping the meta data for the each link. This app uses Next.js and the SSR!

Requirements

git clone https://github.com/viswaah/vercel-redirect.git

Add an .env.local file to the root with the following:

GRAPHQL_ENDPOINT="https://wordpressite.com/graphql/"

Then run the development server,

npm run dev
# or
yarn dev
Name Required Default Description
GRAPHQL_ENDPOINT Yes - WordPress WPGraphQL endpoint (ex: https://host.com/graphl/)

To get the particular post from link https://wordpressdomain.com/path Replace it by https://newverceldomain.vercel.app/path When you post this new vercel link on facebook, It shows the post metadata and content from the vercel, When user click on this link it will redirect them to the actual wordpress domain.

vercelredirect's People

Contributors

viswaah avatar phamcongsonit avatar

Watchers

James Cloos avatar  avatar

vercelredirect's Issues

Square Thumbnail

Các page đăng kiểu bọc link vercel app thường đi kèm với cái thumbnail hình vuông trông khá bắt mắt và diện tích lớn, anh cho em hỏi nó nằm ở phần code hay có tool để đăng như vậy. A có thể chia sẻ được không ạ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.