Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 4|回復: 0
打印 上一主題 下一主題

The fact that you leave

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
跳轉到指定樓層
樓主
發表於 2024-2-24 13:56:28 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
Field. “canonical” field highlighted Other Ways to Specify Canonical URLs Typically, you specify preferences for canonical URLs using canonical tags. But there are other methods you can try: Use rel="canonical" in HTTP headers (ideal for non-HTML documents) Redirect duplicate pages to canonical pages (great for duplicate pages you don't need to keep) List canonical URLs only in your sitemap (best practice for all site owners) Knowing what type of canonicalization to use gives you control over how your site appears on Google.

This also helps avoid issues with duplicate content. Let's look at these Jiangxi Mobile Number List deduplication methods in more detail. Use rel=“canonical” in HTTP Headers The rel="canonical" HTTP header allows you to specify a canonical URL for non-HTML documents. For example, if you have a .docx and a .pdf version of the same document online, you can use this method to indicate your preferred version. However, you must be able to modify your server configuration. In the .htaccess file, specify a canonical URL by adding code that looks like this:  Redirect Duplicate Pages to Canonical Pages URL redirects send Google (and users) from one page to another.



Redirection is the best deduplication method if you don't need to keep alternate versions of the page. But you don't want to remove URLs completely. For example, when you have HTTP and HTTPS versions of the same page. Google prefers HTTPS versions. It is therefore good for your SEO to redirect the HTTP version to the HTTPS version. Google recommends using 3xx redirects (server-side redirects) for the fastest results. This includes the 301 redirect, which you can learn about in our guide to 301 redirects . List Only Canonical URLs in Your Sitemap “All pages listed in a sitemap are suggested as canonical,” according to Google . This means it's best to only submit canonical URLs (and non-duplicate pages) in your sitemap .


回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|GameHost抗攻擊論壇  

GMT+8, 2025-5-19 12:43 , Processed in 0.942735 second(s), 6 queries , File On.

抗攻擊 by GameHost X3.3

© 2001-2017 Comsenz Inc.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |