> For the complete documentation index, see [llms.txt](https://nghiaxchis.gitbook.io/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nghiaxchis.gitbook.io/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/development-on-localhost/run-on-localhost/error-when-run-start.md).

# Error when run start

### 1, <mark style="color:red;">Error</mark> - 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://`).\ <br>
2. **NOTE for users of Atlas and/or** [**Local**](https://localwp.com/):\
   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 [FAQs](https://faustjs.org/explanation/faq/).\
   \
   If using [Local](https://localwp.com/connect-to-wp-engine/), ensure that in Local’s advanced settings, your router mode is set to `Site Domains` to match your `NEXT_PUBLIC_WORDPRESS_URL` value.\ <br>
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 [Local](https://localwp.com/) 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)
