开发者

Can I do a 301 redirect in robots.txt?

I have a site which has a whole host of legacy links, which now need to be ma开发者_C百科pped to new links.

We need to update search engine results so that the legacy ones disappear and are replaced.

Because of the CMS we can't do this programatically, but I was wondering if we could set up a 301 redirect in the robots.txt file, which would update the search engine results at least.

I've seen conflicting information on the web for this, so was hoping for a definitive yay or nay.

Thanks Duncan


Why set it up for only search engines? What about users with bookmarks/history. Just setup your 301 redirects for all pages. Search engines will figure this redirection out..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜