Hi there,
I am having some issues with redirects (caused by lack of knowledge in Javascript ?). What I need to do is to redirect to a new page if the visited URL contains one of the following three words: create, status, home. This redirection may only take place if the visited page is not in iframe.
[I]Example:
1.
Visitor comes to [url]http://company.hosted.com/create[url]http://www.company.com/create-ticket
Visitor comes to [url]http://company.hosted.com/status[url]http://www.company.com/status
Visitor comes to [url]http://company.hosted.com/home[url]http://www.company.com/support
Visits to all other urls at [url]http://company.hosted.com
If visitor goes directly to our company site which has one of the above mentioned urls iframed then the redirect script in the iframed page should not redirect ?
Hope this is not too confusing and that someone is able to help me out ?
Thanks,
Vidir