Absolute vs Relative Path
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:
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.
- The topic ‘Absolute vs Relative Path’ is closed to new replies.