redirect headless wordpress frontend without affecting API

This page summarizes the projects mentioned and recommended in the original post on /r/Wordpress

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • wp-graphql

    :rocket: GraphQL API for WordPress

  • I am using Headless Wordpress with https://www.wpgraphql.com/ for API hosted on SiteGround and Nextjs for frontend.

  • redirect-headless-wp

    "Empty" Wordpress Theme to redirect headless Wordpress Frontend

  • Thanks a lot! I ended up creating an empty theme to do this by following the code from https://serverfault.com/questions/853179/redirect-all-urls-to-the-root-except-wp-admin-and-wp-json. I have shared the theme here: https://github.com/harrywang/redirect-headless-wp which I hope can help someone. It would be great if anyone can tell me how to use Wordpress theme customization UI to make the changes instead of editing the index.php file - I don't know much about Wordpress theme development.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts