[wp-hackers] 2 WP Instances with one database

Diana K. C dianakac at gmail.com
Thu Jul 12 21:33:31 UTC 2012


Great approach but there is something more to consider: some content still 
will not be optimized, i.e huge images in content. Maybe that is why some 
sites has different content on both site versions.

----- Original Message ----- 
From: "Rafael Ehlers" <rafaehlers at gmail.com>
To: <wp-hackers at lists.automattic.com>
Sent: Thursday, July 12, 2012 6:15 PM
Subject: Re: [wp-hackers] 2 WP Instances with one database


There´s the way of creating a new theme (mobile), and using a plugin to
redirect the users to use this mobile theme.

http://code.kuederle.com/browserbasedthemes

http://code.kuederle.com/mobilewordpresstheme

On Thu, Jul 12, 2012 at 6:09 PM, Jeffrey Nolte <jnolte at getmoxied.net> wrote:

> Hello,
>
> I am in the process of building a mobile template for a site and would
> like to run the mobile site off of the same database as the current live
> site.
>
> I have the following:
>
> 1. domain.com - this site is running a standard WordPress site
> 2. m.domain.com - this site will make use of a mobile template (the
> content will never need to change here)
>
> I know how to set symlinks for the wp-content/uploads folder and make all
> of the configurations for the server but am curious on how I would go 
> about
> changing the domain name for the install as one will be using 
> m.domain.comand the other will be using main domain.
>
>  Is there a specific way I can go about hardcoding the domain or another
> means of setting this up properly?
>
> If there are any other suggestions to do the same thing going another
> route I am all ears.
>
> Thank you in advance,
>
> Jeffrey Nolte
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers 



More information about the wp-hackers mailing list