Forum Moderators: phranque

Message Too Old, No Replies

What code to place to redirect MAC users to an alternative homepage?

Can I do this in a .htaccess file

         

RobbieD

2:24 am on Jan 29, 2004 (gmt 0)

10+ Year Member



Would like to direct all MAC users to an alternative MAC home page. Does anyone know how I can do this? Is there a line I can add to my .htaccess file?

Thank you.

jdMorgan

3:22 am on Jan 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could use the user-agent to redirect, but it won't be reliable, since intervening caching proxies may block or change the user-agent.

I'd suggest a client-side redirect using JavaScript.

Jim

RobbieD

3:47 am on Jan 29, 2004 (gmt 0)

10+ Year Member



Do you have an example that I can work from? This would only be for MAC users...