This is a discussion on "Referer Redirect" within the JavaScript Forum section. This forum, and the thread "Referer Redirect are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Referer Redirect
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Referer Redirect
Hi guys.
I need some code for a page I have. It needs to basically do the following... If came from 'ffboxes.htm' then goto 'coolboxes.htm' else stay where you are. lol obviously I'm no good at javascript. But if someone could help me out then that would be great, Thanks alot! |
|
|
|
|||
|
Re: Referer Redirect
Why not just have the link of ffboxes.htm have a link to coolboxes.htm in the first place?
I'm not sure if there is a way to do this with javascript, but it would be better to do it with a server side script such as php or asp. |
|
||||
|
Re: Referer Redirect
In complete agreement with phoenix..... better handled server side.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
Re: Referer Redirect
Quote:
Renaming the page is not an option. This has to be done in Javascript or any other language that can be used in an SHTML file. I know how to do it in PHP but custom 404 pages cannot be .php Thanks for any help and sorry for the long explanation lol. |
![]() |
| Tags |
| referer, redirect |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 301 redirect | nate2099 | Website Planning | 3 | Apr 8th, 2008 10:20 |
| 301 redirect in SEO | geraYY | Search Engine Optimization (SEO) | 26 | Feb 24th, 2008 20:33 |
| Is there a way to redirect... | dudester123 | JavaScript Forum | 3 | Sep 11th, 2006 17:24 |
| php redirect | saltedm8 | PHP Forum | 16 | Jun 20th, 2006 19:30 |
| track referer and pass value to asp send email page | mccannio | Classic ASP | 3 | Dec 6th, 2005 12:49 |