大网数据广告活动
网站运营与故障问答

Is a zero second meta refresh tag to 301 a Blogger post a proper solution?

· 52CE 我爱测

Blogger does not offer a possibility to 301 redirect a post (or the whole blog) to an external domain name (say example.com ). One is suggesting to use some zero second meta refresh tags in the header to solve this issue. Is this…

问题原文

原帖链接 · Jérôme Verstrynge · CC BY-SA 4.0

Blogger does not offer a possibility to 301 redirect a post (or the whole blog) to an external domain name (say example.com). One is suggesting to use some zero second meta refresh tags in the header to solve this issue.

Is this practice accepted by Google and other search engines regarding SEO? Will the PageRank and signals coming to the old post be transferred to the new post on example.com?

REM: Setting example.com as the domain name of my Blogger blog is not an option. I am also aware about the JavaScript solution, but this is not accepted by Google. Alternative solutions are also welcome is they are valid for a SEO point of Vue.

P.S.: It has been a bit more than 2 weeks that I use this method and Google does not complain. Links are forwarded properly when I check in the Google Search Console.

已采纳解答

原帖链接 · Simon Hayter · CC BY-SA 3.0

HTML META refresh is not a 301 redirect

While the outcome is the same they are technically very different because of the header status return. A meta refresh will return 200 OK header response, while a proper redirect will return the 301 Moved Permanently header status.

HTML Meta Refresh is Supported

As far as I know Bing and Yahoo treat meta refresh similar to that of a 301 redirect. Google's @JohnMueller(G+, Pro Webmasters) recently posted a search-engine guide to 301, 302, 307, & other redirects. He mentions that JavaScript meta refresh's are discouraged, and within the guide doesn't talk about HTML based meta refesh until a user mentions it in a comment.

Disa Johnson Apr 7, 2016+

Inktomi treated meta refresh content=0 as 301 in the old days. Too bad G & John say 'not recommended' though understandable to an extent I guess. Still, I would rather have the option in case it's needed on occasion.

John Mueller Apr 8, 2016+

+Disa Johnson We support meta refresh too, I don't see that going away. The W3C has been discouraging them since 2000 ( https://www.w3.org/TR/WCAG10-CORE-TECHS/#auto-page-refresh ), and we regularly see sites mess up with them (eg, auto-refresh after some time to increase page-views), so if there's a choice, I'd prefer sites use one of the other supported types.

However... this isn't to say that Google rewards the same, this will likely never be confirmed or denied.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-08-06)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0 / CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。