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
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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.