Dynamic Base URL
-
Hey all,
I would like to setup my site so that the base URL can be changed on the fly. I currently have it working so that the site will respond to https://hunt.homelinux.net/family/, https://hunt.homelinux.net/wil/ and https://hunt.homelinux.net/jessica/. Further, I have the index.php page set to only show posts appropriate based on the URL.
What I can’t easily do is get WordPress to use these base URLs as it’s base when it generates links to categories, admin functions and so forth. So it then falls back to …/family/, which was the first one.
Is there a plugin, or can someone give me a few tipes (I’m a Java guy, not a PHP guy) as to how the base URL can be adjusted dynamically based on the $_SESSION[‘REQUEST_URI’]?
Thanks,
Wil
- The topic ‘Dynamic Base URL’ is closed to new replies.