Discuz! Board

標題: The fact that you leave [打印本頁]

作者: fahimfoysal03    時間: 2024-2-24 13:56
標題: The fact that you leave
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 .







歡迎光臨 Discuz! Board (http://lwed.skybbs.cc/) Powered by Discuz! X3.3
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |