• All,

    We have a WP site hosted on multiple domains, with the code on the first site being copied directly to the others and need to set paths to relative, not absolute, so DB entries, from the secondary sites do not point to the original hosted site.

    I find nothing in HOWTOs on this and looking at:

    http://digwp.com/2009/06/wordpress-configuration-tricks/

    and

    http://codex.wordpress.org/Editing_wp-config.php

    I see in the wp-config.php file that the constant “ABSPATH” is being set and I want “RELPATH” instead or to set the “ABSPATH” value to “..”, but need to know what is correct way to override the current value settings.

    I know I can hard code it but then will always be broken in upcoming upgrades, so need a work around that will keep current with new upgrades.

    Thanks!

    TBNK

  • The topic ‘Absolute vs Relative Path’ is closed to new replies.