Forum Moderators: mack

Message Too Old, No Replies

redirect command vs. rename

redirect command

         

amythepoet

2:31 pm on Dec 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi. Here's my situation.

I have renamed one file to something else. Now, this something else was a name I already had for another file, but that file was doing nothing so I took the text from the previous file and sent it over to the new one.

I used the rename command, I believe.

Now, do I need to put a redirect command on for the old file, I just need to know what to do please.

Thank you.

topsites

11:45 pm on Dec 13, 2005 (gmt 0)



Open oldpage.htm and replace code with:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">

<html>
<head>
<meta name="robots"
content="noindex,follow">

<title></title>
<script language="JavaScript"
type="text/javascript">
{location.replace('http://yourdomaine.com/newpage.htm');}//-->
</script>
</head>

<body>
</body>
</html>

Save, and upload oldpage.htm to your server and leave it there forever.

amythepoet

11:53 pm on Dec 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Oh terrific. Thank you, but I already went to my server and they had a place where they said to rename y old file with the new file name and that should do it. I did that,

Do I still need to do what you said?