Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 3|回復: 0

How do you explain this problem to a developer

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
發表於 11:16:52 | 顯示全部樓層 |閱讀模式
Using JavaScript and hashed URLs to load elements dynamically is not a good practice and causes problems with your website's visibility in SERPs. Robotstxt Make sure your robots.txt file does not block JavaScript files. If Google does not access JavaScript files, it will not be able to display your site's content correctly. Therefore, you should check that all folders marked as not allowed are not JS files. Example of a robotstxt file locking a JS file folder: Robotsxt locking JS file folder You can also use Screaming Frog to find locked resources: Screaming Frog Locked Resources ? We want to make sure Google can render your site correctly.

To do this, we need to ensure that no important JS files in the robotstxt file are blocked from indexing. GSC Indexing Statistics Report A good place to see how many JavaScript files are indexed on your site is the GSC Indexing Statistics report. You can find it in the settings: GSC Email Data Indexing Statistics Report When you open the report, you can see the indexing statistics by file type. Therefore, it is advisable to check it periodically. Crawl Statistics Server-Side Rendering You've probably come across the term server-side and client-side rendering.




Let's briefly remember: Client-side rendering: It means that the page content is generated in the browser, not on the server. If you are using a JavaScript framework, the default setting will be client-side rendering. Server-side rendering: JavaScript code rendering is done on the server and the browser only displays the final result. Why is client-side rendering not good for SEO? Using JavaScript for client-side rendering practically means extra seconds of page loading, which is definitely not good for user experience. Using this type of rendering engine also means worse results in SERPs: JavaScript problems can block your website or some of its content from displaying in the search engine.
回復

使用道具 舉報

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

本版積分規則

Archiver|手機版|自動贊助|z

GMT+8, 00:38 , Processed in 0.036171 second(s), 19 queries .

抗攻擊 by GameHost X3.4

Copyright © 2001-2021, Tencent Cloud.

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