简体   繁体   English

Joomla规范到404

[英]Joomla canonical to 404

My question is: 我的问题是:

If the <link href="" rel="canonical"> points to a 404 page, how does it affect the SEO? 如果<link href="" rel="canonical">指向404页面,它将如何影响SEO?

Joomla was great in the past, now it seems to have a serious problems. Joomla过去很棒,现在似乎有严重的问题。

After I replaced my old static HTML/PHP site with Joomla it killed me. 当我用Joomla替换了旧的静态HTML / PHP网站后,它杀死了我。 The visitors dropped from 150 to 5 per a day. 访客每天从150减少到5。

With a lot of Duplicate title & description tags, wrong canonical tags and many other problems :( 带有大量重复的标题和描述标签,错误的规范标签和许多其他问题:(

Somehow after several days I managed to find and modify a plugin and get a kind of a canonical tags to my articles. 经过几天的努力,我设法找到并修改了插件,并在我的文章中得到了一种规范的标签。

Now I still have sets of "only" 2 pages with a duplicate content. 现在,我仍然有“只有” 2个页面的集合,其中包含重复的内容。

The first one is fine and correct, the second one gives a wrong canonical tag. 第一个是正确的,第二个给出了错误的规范标记。

在此处输入图片说明

I will answer your first question "Does canonical links points to 404 affects SEO?" 我将回答您的第一个问题“指向404的规范链接是否会影响SEO?”

In general 404 is a healthy respond code for the SEO but i will affect the UX and make the users get out of your website like what exactly happen with you. 总的来说404是SEO的健康响应代码,但是我会影响UX,使用户离开您的网站,就像实际发生的事情一样。

When you use canonical links, you tell Google "ignore this page and follow the canonical one" and if you point to 404 Google will index this page. 当您使用规范链接时,您告诉Google“忽略此页面并遵循规范页面”,如果您指向404,则Google会为该页面编制索引。

Try to use any other plugin, try to redirect the 404 pages to any other page like the homepage, and if you didn't find a plugin for it you can make it manually from the .htaccess file. 尝试使用其他任何插件,尝试将404页面重定向到其他页面(如首页),如果找不到相应的插件,则可以从.htaccess文件中手动创建。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM