jasonc Posted September 17, 2009 Share Posted September 17, 2009 I have been having members complain about my site not redirecting. I have a site that members click on a link (www.site.com/?ref=1) and this in turn updates my counters and then redirects the member to a site related to the 'ref' number but members using a java browser can not use this method of redirecting and i need to fin a different way to do this. can anyone tell me how this is done please. thanks Link to comment https://forums.phpfreaks.com/topic/174563-how-to-redirect-java-browser/ Share on other sites More sharing options...
saltedm8 Posted September 17, 2009 Share Posted September 17, 2009 you could try a meta refresh although you can also use htaccess, a little friendlier to search engines, but I dont think that is what you want because you want them to 'hit' the page you are redirecting from I presume <meta http-equiv="refresh" content="2;url=http://yoursite.com/yourpage.html"> content="2; is the amount of time in seconds before the redirect, so it says there to redirect after 2 seconds also just to let you know, its javascript you are using not java, they are 2 totally separate things Link to comment https://forums.phpfreaks.com/topic/174563-how-to-redirect-java-browser/#findComment-920031 Share on other sites More sharing options...
jasonc Posted September 17, 2009 Author Share Posted September 17, 2009 a few of my members use a 'Java Browser' and are not able to use my site as the redirect does not work for their browser. their 'httpuseragent' is Java/1.6.0_13 Link to comment https://forums.phpfreaks.com/topic/174563-how-to-redirect-java-browser/#findComment-920199 Share on other sites More sharing options...
haku Posted September 20, 2009 Share Posted September 20, 2009 Use php redirects - they are the most reliable, and the browser doesn't matter one way or another since the redirect happens on the server. Link to comment https://forums.phpfreaks.com/topic/174563-how-to-redirect-java-browser/#findComment-921720 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.