Home Comments Thread
New Thread

1 Comment

giscus-bot giscus-bot 2022-12-17 02:05:40
Guest *Jumping Rivers* @ 2018-01-31 18:14:34 originally posted:

As someone who has known about how to structure URLs for years, but still makes the same mistake every month, do you think it would be worth while issuing a warning if a URL starts with www.? If so, would you like a PR (a hint on where to look would be useful as well).

yihui yihui 2022-12-17 02:05:41

I don't think a PR to a particular software package would help much, because this problem is so common. One tool that may help you reveal the problems afterwards is Google Webmaster, in which you can find links on your website that lead to the 404 error, and a URL www.example.com is very likely to 404.

Originally posted on 2018-01-31 19:20:49

giscus-bot giscus-bot 2022-12-17 02:05:42
Guest *Jumping Rivers* @ 2018-01-31 19:26:39 originally posted:

I was thinking that knitr or rmarkdown could perform the check.

yihui yihui 2022-12-17 02:05:43

Hmm, actually it might be a good idea to only solve the problem for R Markdown users.

Originally posted on 2018-01-31 19:32:31

Sign in to join the discussion

Sign in with GitHub