Jump to content

how to redirect - java browser


jasonc

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.