Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-02-06 15:24:03

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 256
Website

Mobile site version

I’de like to improve a client site with a mobile version.
My intent is create a m.site.com domain than redirect all device traffic to it.
Can I use the same database for m.site.com ?
What’s the best practice?

Thanks

Update
Can I use rah_external_output to generate all xml that I’ll need and edit them with smd_xml?
Or it’s better to use directly smd_query?

Last edited by wornout (2012-02-06 15:52:29)

Offline

#2 2012-02-06 18:06:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,258
Website GitHub Mastodon Twitter

Re: Mobile site version

wornout wrote:

Can I use rah_external_output to generate all xml that I’ll need and edit them with smd_xml?

No. rah_external_output would be good but you might have problems with permlinks which would point to the main site.

Maybe this can be solved with rah_replace

Last edited by colak (2012-02-06 18:07:21)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB