View Single Post
Old 06-06-2009, 05:25 PM  
StarkReality
Confirmed User
 
StarkReality's Avatar
 
Join Date: May 2004
Location: 4 8 15 16 23 42
Posts: 4,444
Quote:
Originally Posted by pamon View Post
how are you guys using this though? having separate .com's for the mobile traffic? putting the coding on your main site? trying to see the best way to use this.
The easiest way is to use the .htacess version in your domain root directory. This way all mobile traffic to all subdirectories/subpages gets redirected to the mobile offer.

If you don't already have a .htaccess file:
Open notepad (or any text editor) -> Copy code -> Save as .htaccess -> Upload via FTP

The .htaccess is valid for the directory it's uploaded to and all subdirectories that don't have their own .htaccess. So, in case you only want the mobile traffic of certain subdirectories redirected, just upload it to all those directories.

In case you are running some weird old windows version not letting you save the .htaccess from notepad, name it htaccess.txt, upload and then rename to .htaccess with your ftp program.

Last edited by StarkReality; 06-06-2009 at 05:27 PM..
StarkReality is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote