Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Domain summit 2024

htacess help?

Status
Not open for further replies.

Newton

Level 5
Legacy Platinum Member
Joined
Apr 13, 2004
Messages
296
Reaction score
9
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:
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Sedo - it.com Premiums

IT.com

Premium Members

AucDom
UKBackorder
Be a Squirrel
MariaBuy

Our Mods' Businesses

URL Shortener
UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom