# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nghiaxchis.gitbook.io/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/development-on-localhost/run-on-localhost/error-when-run-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
