Forum Moderators: open

Message Too Old, No Replies

URL re-directing, can robots follow to new site? Help!

What needs to be put in the html?

         

mthorpe

12:33 am on Aug 3, 2004 (gmt 0)

10+ Year Member



What is the right way(code in html)to re-direct a url to a new web site in a way that a robot can follow(recgonize)the link and put the correct link on their search engine when they update next?
Here is an example of the html code i use: <meta http-equiv="REFRESH" content="1; URL=http://www.example.com"> would this work right with robots?

[edited by: agerhart at 12:41 am (utc) on Aug. 3, 2004]
[edit reason] removed URL [/edit]

pageoneresults

1:34 am on Aug 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What type of page is it? .htm, .asp, .php?

mthorpe

1:58 am on Aug 3, 2004 (gmt 0)

10+ Year Member



the pages that is being loaded are .html, then re-directed to are either a .com page or just another .html page.

zoltan

7:38 pm on Aug 9, 2004 (gmt 0)

10+ Year Member



Hmm... I would also like to know. Anyone know this?

pageoneresults

7:41 pm on Aug 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I do not believe there is a safe way to redirect using html. The only way that I know of that is safe is through dynamic pages (.asp, .php, etc.) and/or the web server.

Use standard redirects: don't break the back button! [w3.org]

If you want www.example.org/foo to actually display what's at www.example.org/bar you should not use "refresh" techniques like: <META HTTP-EQUIV=REFRESH CONTENT="1; URL=http://www.example.org/bar">. Why? because it could break the "back" button. Imagine that the user presses the "back" button, the refresh would work again, and the user would bounce forward. The user will most likely get very annoyed, and close the window, which is probably not what you, as the author of this page, want.

Fidget

8:04 pm on Aug 13, 2004 (gmt 0)

10+ Year Member



Its best to use a permanent or 301 redirect using .htaccess

You will normally lose one off any PR for that page, but you should recoup that on the next deep crawl.