Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can i add a refresh to .css

Status
Not open for further replies.

whothought

Technical User
Oct 24, 2002
5
0
0
US
can i add this to a .css for old pages that rank high in searches so that they get sent to the index of the new site
<META HTTP-EQUIV=&quot;Refresh&quot; CONTENT=&quot;2; url=/index.html&quot;>
if so how
 
search engines do not index your .css files... and no that would not work anyway.

Try this in the OLD html page that you want to use as the redirector...

Code:
<script language=&quot;JavaScript&quot;>
<!-- 
if (window == top) top.location.href = &quot;newindexpage.html&quot;;
//  -->
</script>
JimS.
aka
TenTonJim

Looking for work:)
 
thanx TenTonJim

i will do that i just did not want to have to update all the old pages, would have been a quick fix with css.

whothought
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top