更新时间:2023-12-01 23:16:34
rel="canonical" 与抓取无关.它与索引有关,并防止同一页面被索引两次或更多次.
rel="canonical" has nothing to do with crawling. It has to do with indexing and prevents the same page from indexing twice or more.
无论如何,如果您仍然想这样做,您可以通过将此代码添加到您的functions.php中来实现:
Anyway, if you still want to do this you can do it by adding this code to your functions.php:
add_filter( 'wpseo_canonical', '__return_false' );