Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey Mrppp,

    If you goto Duplicator > Settings > Server Settings and look for:

    Root Path or ABSPATH

    That is WordPress constant that defines the root of your site. It a future version I might be able to allow you to manually update this value.

    Cheers~

    Thread Starter mrppp

    (@mrppp)

    right so public_html/ so i guess that is why as my addon is in that path public_html/addon.com

    If you want you can manually set the path in the define.php file which is found in the duplicators plugin directory. I haven’t personally tested it this way, but it may work…

    You would update something like this:

    define(‘DUPLICATOR_WPROOTPATH’, str_replace(“\\”, “/”, ABSPATH));

    To:

    define(‘DUPLICATOR_WPROOTPATH’, str_replace(“\\”, “/”, ‘/public_html/addon.com’));

    Thread Starter mrppp

    (@mrppp)

    What is happening is main directory is public_html/
    that holds the WP site ( my main domain) i.e mysite.co.uk
    but it also holds public_html/myothersite.co.uk

    So rather than just backing up the WP site mysite.co.uk it is also backing up public_html/myothersite.co.uk which is a totally seperate site not even a WP site

    I believe the only way around your issue is to do what I mentioned above…

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

The topic ‘Main domain’ is closed to new replies.