英文:
404 in google referencement - google site links
问题
我的网站是使用REACTJS开发的,当尝试搜索网站时,我发现谷歌在首次搜索下方显示的网站链接中添加了404。
如何解决这个问题,以便不在网站链接中显示404页面。
谢谢
我没有找到解决方案,因为我必须在网站上实现一个404错误页面。
英文:
My website is developed in REACTJS, when tryin to search the site, i found that google adds the 404 in the site links that appears under the first site search.
you can see that in the picture below :
How can i resolve that so that the 404 page do it does not show in the site links.
Thanks
I did not find a solution for this as i have to implement a 404 error page on the site .
答案1
得分: 1
只会根据您的历史记录显示给您,它之所以出现在顶部,是因为您最近访问过它,如果您想要删除它,可以将404页面链接添加到robots.txt文件中,或者如果您有sitemap.xml文件,从其中删除404链接。
英文:
it will only appearing to you based on your history, it is coming on top because you visited it recenlty, if you want to remove it , you can add 404 page link into robots.txt file or if you have sitemap.xml file , remove 404 link from that
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论