Baidu included the blog URL and reported a total error of 301 redirection because of the addition of www

problem description

premise: A year ago, I applied for the domain name of Aliyun and set up my own blog with hexo+github page. The visit address is http://aline2013.com. Recently, in order to change the comment system valine, I have updated Hexo and next, and modified many configuration items related to the topic, such as background, reading time, click effect and so on. Currently, we are planning to modify the search optimization section so that Baidu and Google can include my website

.

question: the website address included in the Baidu webmaster platform needs to carry www, to visit http://www.aline2013.com, but my domain name resolution configuration is that * .aline2013.com jumps to http://aline2013.com,, which always fails to verify the website because of redirection.
even if you modify Aliyun"s domain name resolution, modify it as follows

clipboard.png

I would like to ask if the gods have encountered similar problems, show the way to the younger brother, thank you

Sep.10,2021

has just solved my problem. In the _ comfig.yml under the site directory, you can specify that your URL url, is changed to http://www.aline2013.com,. At the same time, after source/CNAME, deployment, visit aline2013.com, and jump directly to www.aline2013.com. Finally, the website was re-verified on the site platform, that is, it was successful

.

clipboard.png


delete * that record (because it's not necessary. ), the record type of @ is changed to explicit jump (next to last if you remember correctly, the last is implicit jump), and the record value is written as URL of www.


my website http://ysb578.com this is the domain name I just registered, why does it show spinach website in Baidu site:ysb578.com, but click in to visit my own website? It has little influence on the optimization in the later stage.

Menu