• Hi,

    I have some strange problem.

    The siteurl of my blog get’s changed without me doing anything.

    My blog url is https://crazyants.de and after some times (sometimes it takes days, currently it get’s changed after few minutes) the siteurl is changed to https://www.crazyants.de

    I have no clue why the site url is changed automatically and by whom.

    I did security scans with wordfence and wpscan. Both did not find any problems. I also run chkrootkit regularly also with no suspicious results.

    I also deactivated all plugins one after each other and checked if the site url gets changed and even after I disabled all the siteurl was changed again…

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you set your website url’s in admin>>>settings>>>general?

    If that doesn’t work try defining your site url in wp-config like this:
    // Define absolute urls
    define( ‘WP_HOME’, ‘https://mysite.com’ );
    define( ‘WP_SITEURL’, ‘https://mysite.com’ );

    • This reply was modified 6 years, 10 months ago by Slllobodan.
    Thread Starter Barristan0815

    (@barristan0815)

    I never changed my siteurl it was correctly set in the settings. The question is why are my settings changed all the time?

    Well this is the question, why, url’s are set only in settings>>>general and maybe some plugins have effect on them. Usually debugging wordpress is in order, empty all caches including wp and browser, disable all plugins, revert theme to twenty-seventeen and check everything, also i would check DNS settings at your domain host.

    I think it would permanently solve your problem if you define absolute url’s in wp-config.php as i mention before.

    • This reply was modified 6 years, 10 months ago by Slllobodan.
    • This reply was modified 6 years, 10 months ago by Slllobodan.
    Thread Starter Barristan0815

    (@barristan0815)

    Ok I found the problem. I had

    define('RELOCATE', true);

    in my wp-config.php. So if some bot used an old url to try to login wordpress automatically changed to that siteurl…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘siteurl get’s changed’ is closed to new replies.