mobile sub domains
Collapse
X
-
both work on most of the websites I visit with my blackberry? then again it might be forwarding to another domain...Last edited by HandballJim; 11-05-2011, 10:29 AM.Comment
-
I don't use www. on any domains mobiile or pc but at the end of the day it really is a personal choice and won't much as the one you don't use will have a redirect to the other.Comment
-
thing.com/m/ also has advantages in sharing cookies saved logins, etc with the ready of thing.com.
I wouldn't put the mobile optimized pages on a different site (m.thing.com) without a good specific reason for doing so.
On that topic, one thing to avoid, something I fine terribly annoying, is redirecting thing.com/whatever to just m.thing.com. GFY does that, so for example you can't follow links to threads or any otter pages. If you're going to redirect, redirect to the right page like this:
RewriteRule (.*) /m/$1
Or:
RewriteRule (.*) http://m.thing.com/$1For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroidsComment
-
a bit too technical for me.thing.com/m/ also has advantages in sharing cookies saved logins, etc with the ready of thing.com.
I wouldn't put the mobile optimized pages on a different site (m.thing.com) without a good specific reason for doing so.
On that topic, one thing to avoid, something I fine terribly annoying, is redirecting thing.com/whatever to just m.thing.com. GFY does that, so for example you can't follow links to threads or any otter pages. If you're going to redirect, redirect to the right page like this:
RewriteRule (.*) /m/$1
Or:
RewriteRule (.*) http://m.thing.com/$1
i am a bit thick.Comment
-
mod_rewrite
; that is so Mickey Mouse and slows the server ...
It can be easily done in the DNS template for the site (the correct way);
Code:$TTL 14400 domain-name.com. 86400 IN SOA ns1.domain-name.com. emailname.hotmail.com. ( 2011110109 ;Serial Number 86400 ;refresh 7200 ;retry 3600000 ;expire 86400 ;minimum ) domain-name.com. 86400 IN NS ns1.domain-name.com. domain-name.com. 86400 IN NS ns2.domain-name.com. domain-name.com. 14400 IN A 100.100.100.100 localhost 14400 IN A 127.0.0.1 domain-name.com. 14400 IN MX 0 domain-name.com. mail 14400 IN CNAME domain-name.com. www 14400 IN CNAME domain-name.com. ftp 14400 IN A 100.100.100.100 ns1 14400 IN A 100.100.100.100 ns2 14400 IN A 200.200.100.100 [COLOR="Red"]m.domain 14400 IN A 100.100.100.100 www.m.domain 14400 IN A 100.100.100.100 [/COLOR] {....}_EOF_Either sub-domain.com or www.sub-domain.com will work this way -- www is a "sub-domain" in itself so sub-domain.sub-sub-domain.domain.tld really makes little sense IMHO.Comment
-
Going with the shorter name is good advice as is using a script to detect mobile users and redirect them to the mobile site/domain or have a link to let them choose the mobile or full version of a site.Owner, Elevated X - The 4 Time Award Winning Adult CMS Software Company Used by More Than 2000 Adult Sites.Comment


Comment