Valuate Domain Names
DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
HomeRegisterMembershipsGetting StartedDomain Tools Domain EbooksSEO Software Domain Resellers Advertise

Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Coding/Programming/Languages
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 11-03-2009, 02:03 AM   #1 (permalink)
Platinum Lifetime Member
 
Newton's Avatar
 
Last Online: Today 08:08 PM
iTrader: (11)
Join Date: Apr 2004
Posts: 267
DNF$: 592

Send a message via ICQ to Newton

htacess help?

Gents

IS this the correct code to put into an htacess file to do a 301 redirect so that all iphone traffic will redirect to url.ext for example and keep the affiliate code in place?

RewriteCond %{HTTP_USER_AGENT} ^.*iphone.*$ [NC]
RewriteRule ^(.*)$ http:/url.ext/?code=000&code=000 [R=301,L]

?code=000&code=000 is the affiliate code

Thanks in advance

Last edited by Newton; 11-03-2009 at 02:06 AM..
Newton is online now   Reply With Quote
Sponsored Ads
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:34 PM.
Copyright @2001-2009 DNForum.com