Frontity Docs
  • Β» Welcome to Frontity
  • πŸš€Getting started
    • Quick start guide
  • πŸ“ƒAbout Frontity
    • Frontity features
    • Browser support
    • Get involved
  • πŸ“šCore Concepts
    • 1. Project
    • 2. Settings
    • 3. Packages
    • 4. Roots
    • 5. State
    • 6. Actions
    • 7. Libraries
    • 8. Namespaces
    • 9. Styles
  • πŸ—οΈArchitecture
    • Decoupled Mode
    • Embedded Mode
  • 🌎Deployment
    • Deploy Frontity using Vercel
    • Deploy Frontity on Layer0
    • Deploy Frontity on Heroku
  • πŸŒ—Isomorphic React
  • ⚑️ Perfomance
    • Caching
    • Link prefetching
    • Lazy Loading
    • Code Splitting
  • πŸ”ŽSEO
  • πŸ“–Guides
    • Setting the URL of the WordPress data source
    • Using Environment Variables in a Frontity project
    • WordPress requirements for Frontity
    • URLs in a Migration from WordPress to Frontity Decoupled Mode
    • Frontity Query Options
    • Redirections with Frontity
    • Understanding a Frontity project
    • Add a new Frontity package or theme to your project
    • How to share your Frontity project
    • Understanding Mars Theme
    • Working with processors
    • How to process page-builder content in Frontity
    • Keep Frontity Updated
    • Troubleshooting
    • JavaScript
    • React
  • πŸ‘Contributing
    • How to contribute?
    • Contributing Guide
Powered by GitBook
On this page
  • WordPress requirements
  • Have a recent WordPress version
  • Have public access to the REST API
  • Have pretty permalinks activated

Was this helpful?

  1. Guides

WordPress requirements for Frontity

PreviousUsing Environment Variables in a Frontity projectNextURLs in a Migration from WordPress to Frontity Decoupled Mode

Last updated 4 years ago

Was this helpful?

To work with Frontity you will need a WordPress installation. This can be hosted locally, on a web-server, or you can also use a site hosted on wordpress.com

Any standard installation should work with Frontity but just to be thorough, let's review some basic stuff that needs to be taken into account on the WordPress side so everything works smoothly.

WordPress requirements

Have a recent WordPress version

Frontity depends on the . If you have a recent version of WordPress installed, or if you're using wordpress.com then you should be good to go.

Any WordPress site running at least (December 6, 2016) has a REST API directly available (no plugin needed)

Have public access to the REST API

If you have a recent version of WordPress then you should have public access to the REST API of your WordPress installation.

Anyway, you can check that your WordPress REST-API is working and publicly available.

The URL of this REST API may but for a typical self-hosted WordPress installation (wp.org) this URL can be got by adding /wp-json/ to the end of your site’s URL.

From that URL you should see a structure of data representing the content of your WordPress (something like ). Don't worry, this is JSON and Frontity is very happy with this.

Have pretty permalinks activated

Frontiy requires that the WordPress data source uses one of the pretty permalinks options, rather than the plain one, in Settings->Permalinks.

πŸ“–
WordPress REST-API
version 4.7
vary depending on the type of WordPress installation
this