• Resolved gummygirl

    (@gummygirl)


    Hi,

    I just noticed that my sitemap is using the site’s ip address instead of the domain name, which is causing “URL not allowed” errors in GSC.

    I’m not sure how or where this is being set, could you point me in the right direction?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    See if you can adjust the Site Address (URL) at /wp-admin/options-general.php, TSF uses default WordPress canonical URL functionality that read the value from that field.

    If that field is disabled, then WP_HOME might be defined in wp-config.php as $_SERVER['REQUEST_URI'], which isn’t ideal–I recommend commenting out that line and sticking to the WordPress setting instead.

    For more information, see:
    https://ww.wp.xz.cn/support/article/changing-the-site-url/#changing-the-site-url

    Thread Starter gummygirl

    (@gummygirl)

    Perfect, yeah the site URL in general settings was correct but disabled, so commenting out the WP_HOME declaration seems to have fixed the issue.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘IP address as base URL’ is closed to new replies.