[๋””๋ฒ„๊น…] gitalk Redirect UriError in Hexo

[๋””๋ฒ„๊น…] gitalk Redirect UriError in Hexo

๐Ÿ’ก tl;dr


  • in config.yml file _permalink option, change โ€˜:titleโ€™ to other option
  • See here : permalinks

[example]

  • before : permalink: โ€˜:year/:month/:day/:titleโ€˜
  • after : permalink: โ€˜:year/:month/:day/:hashโ€˜



Hexo ๋ธ”๋กœ๊ทธ์—์„œ Gitalk Redirect_url ์˜ค๋ฅ˜ ํ•ด๊ฒฐ๋ฒ•



์ฆ์ƒ

Hexo blog comments ๊ธฐ๋Šฅ ์ค‘ ํ•˜๋‚˜์ธ Gitalk์˜ ์ดˆ๊ธฐํ™”๊ฐ€ ๋˜์ง€ ์•Š๋Š” ํ˜„์ƒ


์›์ธ

Redirect_url์˜ encoding ๋ฌธ์ œ.
ํ•œ๊ธ€์ด๋‚˜ ํŠน์ˆ˜ ๋ฌธ์ž๊ฐ€ ์„ž์—ฌ ์žˆ์„ ๊ฒฝ์šฐ ์˜ค๋ฅ˜๊ฐ€ ๋‚˜๋Š”๊ฒƒ์œผ๋กœ ์˜ˆ์ƒ


์†”๋ฃจ์…˜

  • โ€˜_config.ymlโ€™ ํŒŒ์ผ์˜ permalink ๊ฐ’์—์„œ title์„ hash๋กœ ๋ณ€๊ฒฝํ•œ๋‹ค.
  • url์—์„œ title๊ฐ’์„ hash๊ฐ’์œผ๋กœ ๋ณ€๊ฒฝํ•ด์ฃผ๋Š” ๊ฐ’์œผ๋กœ์จ, url์—์„œ ์ธ์ฝ”๋”ฉ ๋ฌธ์ œ๋ฅผ ์ผ์œผํ‚จ ํ•œ๊ธ€์ด๋‚˜ ํŠน์ˆ˜๋ฌธ์ž๊ฐ€ ์‚ฌ๋ผ์ง„๋‹ค.
  • ๋” ์ด์ƒ url์„ ํ†ตํ•ด ๊ธ€์„ ๊ตฌ๋ถ„ํ•  ์ˆ˜ ์—†๋‹ค๋Š” ๋‹จ์ ์ด ์žˆ๋‹ค.
  • ์˜ต์…˜ ๊ฐ’ ์ฐธ์กฐ : permalinks

[๋””๋ฒ„๊น…] gitalk Redirect UriError in Hexo

https://sklubmk.github.io/2021/06/13/6604a2518dc6/

Author

Jinki Kim

Posted on

2021-06-13

Updated on

2021-08-01

Licensed under

๋Œ“๊ธ€