View Single Post
Old 07-01-2007, 09:11 AM   #1 (permalink)
unicorn
Member
 
Join Date: Jun 2007
Location: Oslo, Norway
Posts: 51
unicorn is on a distinguished road
Default Anybody customised Wordpress to handle domain aliases?

Hi all,

I will be able to write this customisation code myself, so don't spend to much time figuring this question out unless you have the answer off the top of your head.

I have three domain names that I all want to point to the same site, reason being that people knowing my name should intuitively find the site from the adressbar. In wordpress options they ask you to set you blogdomain and as I just found out, when getting stylesheets and images, the php code is set up to pick up the siteurl from the sql database instead of using relative url's. Which in practice means that when using any of the two other domain aliases my site does not get a hold of the stylesheet and images.

So my question is if anybody already wrote code to fix that so lazy me do not have to do it myself. Do any of you have any? I'm currently stuck out in a field working from a mobile line to the internet and going for the big google search is rolling dimes steadily and probably it will be quicker to write it than to search for it. Just trying this in case somebody already did it and can quickly refer me to the sourcecode

Thanks in advance for your attention!
unicorn is offline   Reply With Quote