check baseurl / foward to another - help please
Posted: Sun Nov 16, 2003 1:01 pm
ive been searching these forums for ahwile, and searching other places, and cant seem to find what im looking for.
i have a website, which uses an iframe to display the site content, but with a navigation system always showing at the right.
when people search google or somethin and my site comes up, it often comes up as the page that is to be shown in the iframe, and theres no navigation on the left because of this. they have no way of browsing my site because of this also.
ive been searching for ahwile for a script that will check to see if the page is the (top) link (?) like in the nav bar, and if it is not, to reload to the one i want.
ie. many people are refered to my site at news.php but this shows just the news and not the nav.
but if you goto the main site it shows the news.php in an iframe.
if anyone knows how to make it check to see if a page is the baseurl and refresh to another one if it is, i would be greatly appreciative.
thanks
i have a website, which uses an iframe to display the site content, but with a navigation system always showing at the right.
when people search google or somethin and my site comes up, it often comes up as the page that is to be shown in the iframe, and theres no navigation on the left because of this. they have no way of browsing my site because of this also.
ive been searching for ahwile for a script that will check to see if the page is the (top) link (?) like in the nav bar, and if it is not, to reload to the one i want.
ie. many people are refered to my site at news.php but this shows just the news and not the nav.
but if you goto the main site it shows the news.php in an iframe.
if anyone knows how to make it check to see if a page is the baseurl and refresh to another one if it is, i would be greatly appreciative.
thanks