Welcome to WebmasterWorld Guest from 22.214.171.124 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
How to redirect MAC users to a specific page? What would I put in the .htaccess file to redirect RobbieD
How would I redirect all MAC user to an alternative home page using .htaccess (mod rewrite)
Just a nitpick, but it's Mac. MAC is actually a hardware address for network devices...
You could probably do it with the user agent, though it is probably easier to do via something like PHP.
Oh thanks for the tidbit :)
Would there be a way to just use a line in a .htaccess file for the home page? I think I read somewhere that you would redirect users to alternative pages given their OS, Browser etc.
I would like all Mac users to go to the Mac home page at our site and need to know how this can be done using .htaccess.
We are already using mod_rewrite to send users to cgi type pages when they go to a static directory.
Here is a good example of what we would like to do using .htaccess or another easy way...
BuyMusic is now redirecting Mac users to a page that indicates users must be running Windows and Internet Explorer to access the site.
And they probably are doing it via ASP / JSP (whatever they are using). It's not hard to do in a scripting language.
But, if you just code a standards compliant site, you don't need to redirect based on OS.
It's pretty pathetic IMHO for a site to only work in one browser ;)
I do agree that a standards-compliant site has no need of such work-arounds, but I hope that helps.