Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署出来页面SEO数据不对,转换成了客户端渲染 #2574

Open
kitety opened this issue Jul 6, 2024 · 2 comments
Open

部署出来页面SEO数据不对,转换成了客户端渲染 #2574

kitety opened this issue Jul 6, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@kitety
Copy link
Contributor

kitety commented Jul 6, 2024

描述bug
【此项必填】部署出来页面SEO数据不对,转换成了客户端渲染
vercel 部署出来结果也是,参考网址:https://www.kitety.com/

期望的正常结果
【此项必填】希望部署出来的页面源码中有很多的合法标签数据,但是好像现在的是客户端的渲染模式,不利于SEO

复现步骤
【此项必填】
1.Clone https://github.com/tangly1024/NotionNext main 分支,本地yarn build &&yarn start
2. 检查页面和数据
image
3.检查源码信息
发现div标签才七个,这个明显不够啊
image

环境

  • 【必填】NotionNext版本
    4.6.1
  • 【必填】主题 [例如. hexo]
    simple\hexo
  • 【必填】部署方案 [例如. vercel]
    本地跑起来和本地yarnbuild&&yarn start,vercel 也是
  • 【可选】操作系统: [例如. iOS, Android, macOS, windows]
    macOS
  • 【可选】浏览器 [例如. chrome, safari, firefox]
    chrome

补充说明
【可选】与问题相关的其它说明
vercel 部署出来结果也是,参考网址:https://www.kitety.com/
image

@kitety kitety added the bug Something isn't working label Jul 6, 2024
@kitety
Copy link
Contributor Author

kitety commented Jul 6, 2024

与此同时,因为转换成了客户端渲染,很多验证,比如百度站长的meta标签等等也会收到影响

@kitety
Copy link
Contributor Author

kitety commented Jul 6, 2024

补充:如果是文章页面,本地跑的就是对的了。应该吧,毕竟div有100多个
image
但是我的网站,在vercel跑的还是不对
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants