A multi-disciplinary designer, photographer and entrepreneur.

Support

Get Wordpress to answer on multiple domains…

February 12th, 2007

WordPress in general is a great platform, probably one of the largest open source platforms used on the net. This is a good thing, but sometimes it doesn’t do what you want it to. Well, in my particular case I wanted my WordPress blog (the one and only smurftastic.com) to display the exact content when visited on any domain name that is parked on it. I have several domains that I use for this blog, they are: alanwizemann.com, smurftastic.com, and lameblog.com to name a few. WordPress didn’t know where to find some files if the site was accessed by anything but its primary name, so I found a way to hack it.

Open a database admin utility like phpMyAdmin and go to your word press options table (wp_options). Then, browse the entite table and change any url (http://alanwizemann.com in my case) to a root directory slash (/) - that’s it. Works like a charm.