[wp-hackers] "Masking" a domain name in a wordpress install
niladam at gmail.com
Wed Mar 3 15:57:07 UTC 2010
If the webserver is configured to reply to bar.com (even if the IP is
different - ie: vhost) you could add the IP and address of the server
to your hosts file if using windows (here's something to read about -
http://accs-net.com/hosts/how_to_use_hosts.html) or your /etc/hosts
file in linux :)
On Wed, Mar 3, 2010 at 5:51 PM, Christian Gundersson
<gundersson at gmail.com> wrote:
> Hi guys!
> Say I have two domain names, foo.com and bar.com.
> foo.com has it's own webserver, so foo.com points to foo.com.
> bar.com, however, hasn't but instead points to foo.com/bar_root/.
> Pointing and installing isn't a problem, the problem however is that
> wordpress in bar.com(foo.com/bar_root/) translates all links etc. to
> foo.com/bar_root/link instead of bar.com/link.
> Does anyone know of a good way to solve this?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers