Website Shows Wrong URL When Added to CheckView

When adding a WordPress website to CheckView, you may notice that the registered URL includes an unexpected subdirectory (e.g., /dev, /wp, or /blog) even though you entered the root domain. This article explains why this happens and how to fix it.

Why This Happens

When you add a website to CheckView, we query your WordPress installation’s REST API to retrieve its canonical URL. This is the URL that WordPress itself reports as its own address. If WordPress is installed in a subdirectory (such as /dev, /wp, or /blog), it will report that subdirectory as its site URL – even if your domain’s root points to the same installation.

How to Verify

You can confirm this yourself by visiting the following URL in your browser (replace yourdomain.com with your actual domain):

https://yourdomain.com/?rest_route=/

This returns a JSON response from your WordPress REST API. Look for the "url" field near the beginning of the response. If it shows a subdirectory path (e.g., https://yourdomain.com/dev), that confirms your WordPress Site URL is configured to include that subdirectory.

How to Fix It

To resolve this, you’ll need to update your WordPress site URL settings:

  1. Log in to your WordPress Admin Dashboard.
  2. Navigate to Settings → General.
  3. Update the Site Address (URL) field to your root domain (e.g., https://yourdomain.com) without the subdirectory.
  4. The WordPress Address (URL) can remain as-is if that is where your WordPress core files are physically installed.
  5. Click Save Changes.

Important: The WordPress Address (URL) is where your WordPress files live on the server. The Site Address (URL) is the public-facing URL visitors use to reach your site. These can be different – for example, WordPress files might be in /dev but the site is served from the root domain.

After Updating Your WordPress Settings

Once you’ve updated your Site Address in WordPress:

  1. Verify the change by visiting https://yourdomain.com/?rest_route=/ again and confirming the "url" field now shows your root domain.
  2. In CheckView, remove the website with the incorrect URL.
  3. Re-add your website using your root domain URL.