Redirecting to home page incase of a dead link

r4k35h

Member
Joined
Sep 4, 2006
Messages
20
Programming Experience
Beginner
Hi,
....well,I was asked by my friend to make a website which is kind of a community website and part of this website is an events page, people get registered to this site and are then are entitled to register for the event,the event is held for say 2-3 weeks and before the event starts each participant is given a link in which he/she can track his records(displayed in the link page) during the event but after the event is finished the link page is killed and so do the records...

...here is where the problem araises, as we send the links to the participants and suppose they use the link after the event was over they would end up getting a"page not found"/"page cannot be diaplayed" error,

...so I want a code which would help me to Redirect the participant to a page stating that the event is over or to the home page(this should happen when a person copies & pastes the link on the address bar or clicks on the link given to them)...can someone help me with this???

Thank You
 
You can intially link them all to the same page with a request parameter in link to redirect to participant page, this common redirect page can make the check and the appropriate redirect accordingly.
 
Back
Top