|When we completely redid our site, someone at our hosting company gave me this bit of code for redirecting our pages that were already indexed by Google: |
<meta http-equiv='refresh' content='0;URL=/main_custom.php?headfield=header_main&sidefield=sidebar_main&mainfield=cust02&footfield=footer_main'>
to put in a file on the root that was named "/oldpage.htm"
Now I see that this might cause some troubles with Google, as it looks "spammy"...
Then I found this little bit of script to redirect to a new URL:
This domain has been temporarily moved to <a href='http://newurl'>http://newurl</a>. Click the link if you are not redirected. There is no need to update your bookmarks.
Would I do the same with this code - put it in a file named "/oldpage.htm" on the root?
I don't have access to anything server side except to add files to the root, and change the dynamic content. Is what I have above a good way to do the redirect, or is there something better?
Thanks in advance for your words of wisdom!