[wp-hackers] 2 WP Instances with one database

Jeffrey Nolte jnolte at getmoxied.net
Fri Jul 13 00:38:57 UTC 2012


Rafael - Great solution to our problem.  I think this will work perfectly.  One question I had is how to route the user to the desktop site in the event they would rather not browse by mobile?

Diana - In terms of the content it will be the same content and we will be using the tool src.sencha.io which is basically a proxy that resizes images appropriately for the device.  

Aleksandar - Media Queries would not work in this instance the layout is completely different.

Thanks again!

Jeff
On Jul 12, 2012, at 5:44 PM, Aleksandar Lugonja wrote:

> is there a reason not to use media queries?
> 
> On Thu, Jul 12, 2012 at 11:33 PM, Diana K. C <dianakac at gmail.com> wrote:
> 
>> 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 <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/browserbasedthemes>
>> 
>> http://code.kuederle.com/**mobilewordpresstheme<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 <wp-hackers at lists.automattic.com>
>>> http://lists.automattic.com/**mailman/listinfo/wp-hackers<http://lists.automattic.com/mailman/listinfo/wp-hackers>
>>> 
>>> ______________________________**_________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.**com <wp-hackers at lists.automattic.com>
>> http://lists.automattic.com/**mailman/listinfo/wp-hackers<http://lists.automattic.com/mailman/listinfo/wp-hackers>
>> ______________________________**_________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.**com <wp-hackers at lists.automattic.com>
>> http://lists.automattic.com/**mailman/listinfo/wp-hackers<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