πŸ“š
Ncmaz- Nextjs Headless WordPress Blog, Magazine
View demoBuy theme now
  • πŸ’A few words of thanks
  • πŸ‘₯Community
  • πŸ“¦Inside the downloaded package
  • πŸ’Support
  • 🌠Domains and hosting?
  • Getting Started Setup
    • ⭐Getting Started
    • Step 1. Configure WordPress Server
    • Step 2. Install the WP theme & plugins.
    • Step 3. Check Your Permalinks and WPGraphQL Settings
    • Step 4. Update environment variables.
    • Step 5. Deploying the Ncmaz-Faust to Vercel
      • 5.1 - Deploy Ncmaz to Vercel via a GitHub repo.
      • 5.2 - Or deploy Ncmaz to Vercel using Vercel CLI
      • 5.3 - Error when deploying to Vercel using the GitHub repo.
      • 5.4 - Other Hosting Options
    • Step 6. Set your Front-end Site URL. Congratulations πŸŽ‰
    • Step 7. Import demo data
      • [ERROR] Failed to import "Home 2" page
    • Step 8. Connecting MailPoet to Ncmaz-frontend
    • Step 9. Setting Logo, Socials, SEO, ... Site settings JSON
  • Development on localhost
    • Run on localhost
      • Error when run start
    • Deployments
  • WordPress
    • Build a home page with Ncmaz Gutenberg
    • Config Mailpoet
    • You don't have permission to submit the post.
    • Compatible with other plugins?
    • Using Headless WordPress with Next.js and Vercel
    • Create Anchor Links Manually with WordPress Block Editor
    • Create post-format Video, Audio, and Gallery
    • Contact form
  • Header
    • Header navigation menus
    • Avatar dropdown menus
  • Footer
    • Footer menu
    • Footer subscribe form
  • Single post page
    • Setting single style and toggle single sidebar
    • Setting Post format Video, Audio, Gallery
  • Ncmaz-faust
    • Install node_module
    • Custom border-radius
    • Custom color, fonts
    • Components
    • Sources And Credits
    • Translate the theme into your language
    • RTL mode
    • Nextjs-google-analytics
    • 414 Request-URI Too Large
    • Sitemap XML, robot.txt
    • Integrate Google AdSense in NextJS
    • Site Settings JSON
  • For developers
    • Project initiation
    • Enviroment variables
    • Ncmaz-faust-core plugin.
    • Ncmaz-faust project
    • Coming soon!
  • Change log
    • Update theme?
    • Change log
Powered by GitBook
On this page

Was this helpful?

  1. Development on localhost
  2. Run on localhost

Error when run start

PreviousRun on localhostNextDeployments

Last updated 1 year ago

Was this helpful?

1, Error - Validation Failed: Your Faust front-end site URL value is misconfigured. It should NOT match the NEXT_PUBLIC_WORDPRESS_URL.

If you are getting an error like this then you are probably having an overlap between the WordPress url and the Nextjs frontend page url.

Please check 1 of the following cases:

  1. Update the NEXT_PUBLIC_WORDPRESS_URL value with your WordPress site URL (be sure to include http:// or https://).

  2. NOTE for users of Atlas and/or : If deploying from the Atlas portal using your own repository without beginning with a blueprint, you will need to set your environment variables manually. Learn how by taking a look at our . If using , ensure that in Local’s advanced settings, your router mode is set to Site Domains to match your NEXT_PUBLIC_WORDPRESS_URL value.

  3. In case the WordPress URL is like: http://localhost/your-blog and your Front-end Site URL is http://localhost:3000, the conflict error will also occur, because they have the same localhost origin.

    And then this error may occur: "Error - Validation Failed: Your Faust front-end site URL value is misconfigured. It should NOT match the NEXT_PUBLIC_WORDPRESS_URL."

    So the solution is to customize one of those two URLs so they are different, you should consider using Atlas and/or for your local WordPress. Or simply temporarily remove the Front-end Site URL field in Settings β†’ Faust (only do this temporarily during localhost development and cannot customize the URLs)

Local
FAQs
Local
Local